edgarasm Posted November 26, 2013 Share Posted November 26, 2013 Hello I was wondering how could i autofill a form based on a drop down list using raw php and mysql . I know that the connection to database would have to be established but what next ? Any Pointers would be helpful Also check the attached photo to maybe understand more than I'm explaining Quote Link to comment Share on other sites More sharing options...
cyberRobot Posted November 26, 2013 Share Posted November 26, 2013 If you don't want the page to reload, you'll need to use something like JavaScript to populate the fields based on a drop-down selection. If you need to pull information from a database, you could use AJAX to connect with a PHP script. Or you could look into pre-loading the information into JavaScript. What in the form are you trying to auto fill? Quote Link to comment Share on other sites More sharing options...
edgarasm Posted November 26, 2013 Author Share Posted November 26, 2013 The details of credit card and the name but not the security number Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.