I saw in PHP manual that it was possible to get values from HTML list. So I tried with the multiple form :
<form action="foo.php3" 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>.
If can read the text inside personnal[name] with "echo $personnal[name];
I can't read the result of the list. <? php_tracks_var?> is on, and returns an array.
I thing it's syntax problem, but i can resolve it. I tried:
echo $beer[guinness];
It doesn't work, someone could help me.. thank you 🙂