> Can anyone tell me why PHP would report a parse error on the second
line of
> this SIMPLE loop?
>
> for($i=0;$i<=$u;$i++) {
> echo "yeah";
> }
I don't get a parse error, I get a couple notices. The notices appear
because you have not assigned a value to the variable $u.
Try this:
<?php
$u = 5;
for($i=0;$i<=$u;$i++) {
echo "yeah";
}
?>
Beau