Ok, I'd like to know how do I make a number stay the same for a certain amount of times for example.
PHP Code:
$i = 0;
//I'd like for 0 to repeat 4 times and then resume to number 1
while($i < 10)
{
echo $i;
$i++;
}
I tried putting a -4 but, It echo's out like -4 -3 -2 etc.. I'd rather 0's though.
|