Jump to content

Auto fill


steveby3

Recommended Posts

I am trying to use eleven form fields on a php page where one of the fields will be used to enter a user name (or id number) and have the remaining fields fill in with the data I have for that user. I have over twenty records in m database and I need (I think) a menu/list as well that does the same thing so I can see all files in the list and click on a name (or id).

 

I need help on how to do this for a single field entry (user name) as I can remember (or view) the files using XAMPP but there will come a point where I am unable to do this so I would also need help with the menu/list option.

 

Any help will be appreciated.

 

I am new to databse SQL/PHP so a step by step guide would suit me best.

 

I am using XAMPP and Dreamweaver if this helps.

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/185209-auto-fill/
Share on other sites

The files I refer to is the data in a table, my fault for calling them files. I have one database with one table containing information of twenty or more customers.  I am trying to design a php page with a username/ID form field for example <input name="" type="text"> with other empty fields. I type in the username into a field and the data in that record is placed in the remaining fields so I can then see a name, address etc.

 

I would also liketo be able to select a name from a menu/list that will place data into the fields from a record. I am asking for two different methods of doing the same thing.

Link to comment
https://forums.phpfreaks.com/topic/185209-auto-fill/#findComment-978086
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.