Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Address item in combo list

Status
Not open for further replies.

34534534534555

IS-IT--Management
Joined
Jan 8, 2003
Messages
240
Location
GB
Hi,

I am very new to PHP...

I have a combo box (list) on a page that displays a recordset resulting from a mySQL db query. When i select different items in the combo, i want to update (on the fly) a hidden text field on the page with the data from another column, the same record in the same table.
-Would someone be so kind as to tell me how to do this.,

Also, how do i address the selected item in a combo box (list) and store it in a variable? in VB6 i would use something like "nameofcombobox.listindex".

Thanks in Advance


| Feedback is always appreciated as this will help to further our knowledge as well |
 
yes, u have to use Javascript...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top