Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ajax, php, enter zip code, onblur, load city state into form fields

Posted on 2009-04-10
1
Medium Priority
?
1,261 Views
Last Modified: 2013-12-12
Hello,

I have a database with a table that contains all of canada and usa's zip codes with the corresponding city and state.

I have a field called 'zip' and I want it to pull the city state from the database when the visitor clicks out of the field.

Just like this is doing:
http://www.codeproject.com/KB/ajax/AjaxWebServices.aspx

I have that code obviously but I need it to work in php.

Any help would be great.

Matt
0
Comment
Question by:movieprodw
1 Comment
 
LVL 1

Accepted Solution

by:
movieprodw earned 0 total points
ID: 24122679
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question