Jump to content

PHP/MYSQL & JAVASCRIPT


GregL83
 Share

Recommended Posts

I want to create a form with menu options that dynamically affect other options. An example is a menu listing states and cities. When the state is selected the corresponding cities are loaded into the next associated menu. I already know how to do a simple form of this; however, I would like to make it more complex. (tutorial : www.hscripts.com/scripts/JavaScript/dynamic-form-event.php). Would it be possible to have the first selected value pull more values from a MYSQL DB using PHP? Or, will I be required to pull all the corresponding values first and echo them in javascript like demonsrated in the tutorial linked in paranthesis above^ ? Thank you for your time...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...