Welcome Guest, Not a member yet? Register   Sign In
How to get array of items of listbox ?
#1

[eluser]Rahul gamit[/eluser]
Hello,
I am having two listboxes one of contains data and one is empty and by clicking the transfer button listbox1’s data is transfer to listbox2 and i want to get all the data of the listbox2, so how can i retrieve the entire array of items ?
please help me .

Thanks in advance
#2

[eluser]Jaketoolson[/eluser]
Not sure how this pertains to CodeIgniter... If your listbox2 is a multi-select dropdown box, the name should be = "name[]".

Upon submitting the form, name[] will come through as an array of everything in the select box.
#3

[eluser]Rahul gamit[/eluser]
Hey jaketoolson thanks for the reply its working now.




Theme © iAndrew 2016 - Forum software by © MyBB