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!
I have a table in a database with title and functions fields and want to create a php form with a drop down selection using title, that when a selection is made, will automatically fill a second form field also called function. I need help on the best way to write this php code.
Thank you.
The php code is simple. You just query the database and return values for those 2 columns. The rest of your script will use javascript to do the filling of form values when you click on an item from the dropdown.