your syntax is correct, just need to change for ($j=0: $j < 5; $j++) to
for ($j=0; $j < 5; $j++)

>>> "Micah Montoy" <[EMAIL PROTECTED]> 07/09/03 12:56PM >>>
Anyone ever do a nested for loop?

$i =0;
$j =0;
for ($x=0; $x < 50; $x++){
    echo ("1 to 50");

        for ($j=0: $j < 5; $j++) {
            echo ("less than 5");
        }
}




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to