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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic List Selection

Status
Not open for further replies.

moviejunkie

IS-IT--Management
Oct 12, 2006
21
US
Hi, I have a page with a list box on it that is filled with names from an MYSql database.

I need to be able to click on a name and have it display all the information for that individual(name, address, ect...) automatacly in a set of labels with out loading another page

Help

Thanks
 
Then you need AJAX, to create the communication to a PHP script that fetches the data from the database without loading a new page.

Or Javascript, but you would need to generate all the possible sets of information before hand so JS could select one based on the drop down option and display the information.
but that can get very cumbersome very fast.

forum1600

or

forum216



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top