I'm pretty sure all you have to do is name your select as an array like so:
<select multiple name="icon">
Your selected values will come across as an array called $icon.
If you need more info on this and how to use it, there's lots in the
archives. That's where I found the info I needed.
> -----Original Message-----
> From: Stephen Rhodes [mailto:stephen.rhodes@;scils.co.uk]
> Sent: Tuesday, November 12, 2002 11:32 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Passing multiple form variable in PHP
> HELLO - this is probably a simple problem !!!!!!
> Wanting to use <select multiple ... > in a html form and pass
> multiple value
> into a php variable but does
> not work. I only get a single value. Can you tell me what I
> am doing wrong
> Does the multiple value get passed correctly in php ????
> if ($task=="check")
> print '<form name="sqlform" method="post"
> <font class="look2">Multiple Check:</font>
> <select multiple name="icon">
> <option value="false">False</option>
> <option value="true">True</option>
> <input type="submit" name="submit" value="Submit"
> Steve R
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php