Welcome to WebmasterWorld Guest from 54.234.129.215

Forum Moderators: open

Message Too Old, No Replies

How to select a item and auto display the relative information

     

wilson2888

2:00 pm on Aug 13, 2008 (gmt 0)

5+ Year Member



Hi, recently I write a php web entry system, now I have 2 tables:

customer
-----------------------
customer_id
customer_name
tel
contact
address
email
----------------------

shipping
------------------------
shipping_id
customer_id (FK)
customer_name
fee
shipping_date
------------------------

and I would like to write a shipping form for data entry, and I would like to let the user to select "customer_id", such as select c0001,c0002,etc... and then it will automaticlly display a customer name, such as John, Ann, Peter, Annie, etc.... in next line. Please help me, thank you so much!

Arno_Adams

9:27 am on Aug 14, 2008 (gmt 0)

10+ Year Member



Hi,

Try the AJAX examples at w3schools.com
It has a step-by-step example of what you're trying to achieve.

HTH, Tom

 

Featured Threads

Hot Threads This Week

Hot Threads This Month