Solved

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

Posted on 2009-04-10
1
1,246 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Creating and Managing Databases with phpMyAdmin in cPanel.
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now