Jump to content

auto fill out address from MySQL database


Recommended Posts

 Having just barely got to grips with PHP, I have made a PHP app that can be used to fill out out forms,

at the moment it is a step by step process, loading a different function from a PHP file full of functions, loaded one at a time;

when filling in an address, it is possible to load an address previously used, this is simply done by reloading the same PHP function with a MySQL lookup,

it works great as is, but to make the app work more dynamically, I'd need to allow the user to fill in the whole form in one go.

However, to write the whole form in one go I'd need to load this address into a possibly half completed form...

 

As far as I can tell this isn't something suited to PHP, I believe JavaScript is the way to go;

however I have never worked with JavaScript before,

I was hoping someone could point me toward some tutorials and some relevant sample code for me to read through.

 

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.