Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- autofill data using php/mysql
March 21, 2006, 12:46 pm
rate this thread
Re: autofill data using php/mysql
Well, first of all PHP is server side - it doesn't know when the
When the user fills in the box you can submit the page back to itself,
get the postcode and fill in the rest of the info.
The biggest problem is figuring out when the box is completely filled
in. If, for instance, you say it must be six characters long, great.
It's something you can test on. But what happens if the user enters the
last character incorrectly and wants to change it? Now the user has to
wait for the page to be sent back.
Alternatively, you can send the entire postcode/address info with the
a bit of data.
also. Otherwise just have a "fill in the blanks" button which submits
the page back to itself and sets the info as above.
Remove the "x" from my email address
JDS Computer Training Corp.