RE: [PHP] For Loops and Variables??
| From: | Chris W. Parker | Date: | Tue, 16 Sep 2003 23:22:58 +0000 |
| Subject: | RE: [PHP] For Loops and Variables?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162801@lists.php.net to get a copy of this message | ||
Chris W. Parker <>
on Tuesday, September 16, 2003 4:07 PM said:
> This Is Good(tm):
>
> for($x=0;$x<100;$x++)
> {
> for($x=0;$x<100;$x++)
> {
> echo "Me happy now!!";
> }
> }
Hehe... whoops! Should be:
for($x=0;$x<100;$x++)
{
for($y=0;$y<100;$y++)
{
echo "Me happy now!!";
}
}
BYE!