Solved

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

Posted on 2009-04-10
1
1,250 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 SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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 a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

786 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