Dynamic Drop Down

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mainul
    New Member
    • Sep 2006
    • 51

    Dynamic Drop Down

    hi,
    i have a form with list of my customer. i have customer name in a drop down menu (the customer list comes from database dynamically). i have a table named customer which includes custID, custName, custAddress, and custPhone.

    what i want is, if i click on a customer, listed in the dropdown, the address and Phone number will display into two other text box respectively. How can i do this using PHP?
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    If you want to display the customer info dynamically after the select, you can use Ajax to accomplish that.

    See for an example the Dynamic Client Lookup entry in http://www.dhtmlgoodies.com/index.html?page=ajax
    and for the demo see Ajax Client Lookup

    Ronald :cool:

    Comment

    • mainul
      New Member
      • Sep 2006
      • 51

      #3
      Thanks a lot Ronald

      Comment

      Working...