Wednesday, 3 November 2010

PHP While Loop

It's a straight forward thing, once you've got it kept somewhere safe:
$i=0;
while($i<=35) {
echo ("The number is $i < b r />");
$i++;
}


Do whatever you need to with the incrementing value of $'i'

No comments:

Post a Comment