kaab kaoutar wrote:
> <?php
> echo " " . $personal["name"]. "\n" . $personal["email"] . "<br> " ;
> echo Count($beer);
> $i=0;
> for ($i=0;$i<Count($beer);$i++) echo $beer[i];
> ?>
>
> i have the same error the constant i is not defined ...
> how acn i fix it ?
Try
for ($i=0;$i<Count($beer);$i++) echo $beer[$i];
A $ in front of a variable can do wonders...
Wagner
--
One maniac alone can do what 20 together cannot
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]