Filling out fields
Posted: Thu Oct 15, 2009 4:16 pm
I'm wondering how to use PHP to fill out fields in a form automatically based on a single selection in a drop-down menu.
I have a form that pulls course data from a database. I have a drop down menu that lists all the courses a student can enroll in. Once they select the course they want, I want all the associated data to be filled out automatically in the other form fields (using data from the same database), so the student doesn't have to fill it all out.
Any suggestions?
I have a form that pulls course data from a database. I have a drop down menu that lists all the courses a student can enroll in. Once they select the course they want, I want all the associated data to be filled out automatically in the other form fields (using data from the same database), so the student doesn't have to fill it all out.
Any suggestions?