Solved

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

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

911 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

24 Experts available now in Live!

Get 1:1 Help Now