Hi,

Thursday, January 2, 2003, 12:39:46 PM, you wrote:
EK> i am now facing a problem in multiple select.
EK> This is my example code in html.
EK> <select name="destList" MULTIPLE size="6">
EK>     <option value=4>123</option>
EK>     <option value=5>234</option>
EK>     <option value=6>345</option>
EK> </select>
EK> i select all the value and pass to php...it should be a array.
EK> but when i display the destList value, it just show the "6" the last
EK> value...
EK> where goes wrong?


EK> Elaine Kwek

You need to call your select name as name="destlist[]"

Then php will know to expect an array list

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to