Jump to content

PHP and MySQL


pancgom

Recommended Posts

I have a table (mySQL) in which there is data which contains name, empID, department.

 

Now i have a form built in PHP which has the name, empID and department fields, this form is used to retrieve information from the table mentioned above and display.

 

the name field is a drop down menu list (combo box) which lists all the names in the table drawn from the database. Upon selecting a name the corresponding details to that particular name such as empID and Department should display in the respective fields in the php retrieval form.

 

How do i retrieve and display names in the combo box and how to display the other information in the fields corresponding to the name is my question?.

 

 

Can i have the code for that please... i have been trying to do this for long with different things maybe i am new i am not able to even figure out what is going on...please help...

Link to comment
https://forums.phpfreaks.com/topic/99340-php-and-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.