RE: [PHP] Can i get all content for list box in $_POST
| From: | Pablo Gosse | Date: | Tue, 23 Mar 2004 22:01:22 +0000 |
| Subject: | RE: [PHP] Can i get all content for list box in $_POST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181317@lists.php.net to get a copy of this message | ||
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