wow this is great, thanksGenSwat wrote:LOLgot bored checked out ur ink site made you a forum sig?
![]()

wow this is great, thanksGenSwat wrote:LOLgot bored checked out ur ink site made you a forum sig?
![]()
It would be without the text.ta2shop wrote:dont now what the admin will think about it but , i hope it is by the rules
oops, thanks for that.Tino wrote:because they still said 150px.
no it was my fault for not being clear. sorryGenSwat wrote:thats why i made it 150 height earlier, If this is a problem I wont make people forum sigs
thanks, it was my fault really, I should have remembered to change the rules page.ta2shop wrote:ok, changed the signature to fit the rules![]()
sorry for the inconviniente. (how do you type that?)
thanks you sould read somthing i typed in english like 8 month agoTino wrote:Inconvenience
$number = rand(12,21);and then some sort of function to randomli print one of those numbers?
my mistake, the number needs to by betwen 1 and 90! so the $number would byTino wrote:No, you would just echo $number and it would display a random number between 12 and 21.
$number = rand(1,90);right ?
<?php /** * @author GenSwat * @copyright 2011 */ $number = rand(1,75); if ($number <= 15) { echo "B-"; } elseif ($number >= 16 && $number <=30) { echo "I-"; } elseif ($number >= 31 && $number <= 45) { echo "N-"; } elseif ($number >= 46 && $number <= 60) { echo "G-"; } elseif ($number >= 61 && $number <= 75) { echo "O-"; } echo $number; ?>I am sure this can be done more clean but from researching found the syntax and started from
<?php $number = rand(1,75); ?>Bingo Generator
jacek wrote:Looks clean enough, good job
It's no better than what you haveGenSwat wrote: I was gonna try to use Switch and Case 1 Case 2... but couldn't figure it out
<?php $numbers = range(1, 90); shuffle($numbers); foreach ($numbers as $number) { echo "$number "; } ?>this will list 90 number without alot of overlap
echo "$number " . '<br>';to make it run vertically
<?php $numbers = range(1,75); shuffle($numbers); foreach ($numbers as $number){ if ($number <= 15) { echo "B-"; } elseif ($number >= 16 && $number <=30) { echo "I-"; } elseif ($number >= 31 && $number <= 45) { echo "N-"; } elseif ($number >= 46 && $number <= 60) { echo "G-"; } elseif ($number >= 61 && $number <= 75) { echo "O-"; } echo "$number " . '<br>'; } ?>