• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.