sending the a combo box to another form

Reply

Join Date: May 2008
Posts: 43
Reputation: yasmena is an unknown quantity at this point 
Solved Threads: 0
yasmena yasmena is offline Offline
Light Poster

sending the a combo box to another form

 
0
  #1
Nov 12th, 2008
HI all ,

i have a list box(combo box) that contains 100 items and i need to send this whole list to another form (i.e i need to insert these options in the list in the DB )

the problem is sending a listbox to another form can be done $_POST but this only gets the selected value from the list and i dont want to select the 100 items i just want to send them all without selecting ??
is that possible
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 232
Reputation: Rhyan is an unknown quantity at this point 
Solved Threads: 24
Rhyan's Avatar
Rhyan Rhyan is offline Offline
Posting Whiz in Training

Re: sending the a combo box to another form

 
0
  #2
Nov 12th, 2008
'Sending' and 'Displaying' are two completely different things. You can display the combobox on next page without sending data, by just copy/paste the combo box code on page no2.
Sending means exatly what you would do when you fill a form for an e-mail - only the entered or selected value will be sent for processing on the other side.
Please explain what do you want to achieve - only list once again all values and make them available for further selection in the combo box, or, you want to show only selected items as values?
" Of all the things I've lost,
I miss my mind the most...."
Mark Twain
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC