Hi all!
first thanks for urvreplies about the editors and tutorials!
well while trying a my first php form i had to use a loop in the
confirmation part which looks like:
<?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 ?
by the way the html form looks like :
<form action="conf_form.php" method="post">
Name: <input type="text" name="personal[name]"><br>
Email: <input type="text" name="personal[email]"><br>
Beer: <br>
<select multiple name="beer[]">
<option value="warthog">Warthog
<option value="guinness">Guinness
<option value="stuttgarter">Stuttgarter Schwabenbräu
</select>
<input type="submit">
</form>
THANKS
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
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]