Re: Can i get all content for list box in $_POST
| From: | Sheeraz fazal | Date: | Tue, 23 Mar 2004 22:43:02 +0000 |
| Subject: | Re: Can i get all content for list box in $_POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181323@lists.php.net to get a copy of this message | ||
My Mistake. I over looked :(
"Pablo Gosse" <gossep@unbc.ca> wrote in message
news:68B99CBE9259DC4E8A788367AFD4D4D50305874F@pg-adr-exch-01.adr.unbc.ca...
Sheeraz fazal wrote:
> Hi All,
>
> I have a list box in a page (html <select> tag with multiple
> selection option). Items are added dynamically in list box, using
> javascript. Can i get all elements of listbox in my php code.
>
> If i do $_POST['select_tag_name']. I get a variable not an array.
> Thus getting only one item.
>
> Comments?
http://www.php.net/manual/en/faq.html.php#faq.html.select-multiple