Solved

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

Posted on 2009-04-10
1
1,254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
movieprodw earned 0 total points
ID: 24122679
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Web Development 6 71
How difficult would it be build a cookie scanner in PHP? 21 62
mysql vs miscrosoft sql server 6 62
Centos webserver sending tons of spam 27 43
This article discusses four methods for overlaying images in a container on a web page
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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…
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 …

752 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