Populate another two columns by selecting one column

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kaosar08
Forum Newbie
Posts: 2
Joined: Thu Jul 09, 2009 12:02 am

Populate another two columns by selecting one column

Post by kaosar08 »

I have 3 columns like Name, Address, Telephone in mysql database. I want that when I select Name from Listbox, then it will select or show corresponding Address and Telephone in textbox.
Paul_F
Forum Newbie
Posts: 10
Joined: Sat Aug 29, 2009 6:17 pm

Re: Populate another two columns by selecting one column

Post by Paul_F »

If the user already exists, when he/she loads the page with the form on it, execute a query to load the user's info (including name) from, for example, a user-info table; else, load defaults.
Post Reply