• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get array of items of listbox ?

[eluser]Rahul gamit[/eluser]
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

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.

[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.