Jump to content

[SOLVED] phpform


newtoall

Recommended Posts

Hi,

 

Short question:  Is it possible to have a php form that will be automatically populated when a user selects a value from a drop down list item.

 

Description:

I have am writting a php form that will be used to update information that already exisits on a mysql database.

 

I have set up two forms on one screen one contains a drop down list of people names and a 'get details' button. This form basically passes the id of the person the user selects on this first form back into the screen and is used by the second form to populate each field:

value="<?php echo retrive_person($person_id)->FIRST_NAME;?>"

Rather than having two forms is it possible to have one form with the fields being populate as soon as the details of the person the user selects from the drop down list.

 

 

Any help would be appreciated!

Link to comment
https://forums.phpfreaks.com/topic/48112-solved-phpform/
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.