[PHP] Can i get all content for list box in $_POST

2004-03-23 Thread Sheeraz fazal
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.

RE: [PHP] Can i get all content for list box in $_POST

2004-03-23 Thread Pablo Gosse
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

Re: [PHP] Can i get all content for list box in $_POST

2004-03-23 Thread Sheeraz fazal
Thanks. As same select element is used in PHP and JavaScript. Naming a tag ending in sqare brackets [] is JavaScript error. Till now either PHP will not produce desired results or JavaScript will give me error :( Pablo Gosse [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sheeraz fazal

Re: [PHP] Can i get all content for list box in $_POST

2004-03-23 Thread Sheeraz fazal
My Mistake. I over looked :( Pablo Gosse [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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