Ian,
Thanks for your response and SQL to generate US zipcodes, but I should have made myself more clear.
I am capturing city, state, and zip code in separate fields/variables. And querying against those are not a problem.....
I am looking for efficient ways to query the "street address" portion of the postal address. Like, "123 Main St.", "123 Main Street", "123 Main", "2334 W. 53rd St.", "2334 West 53 Street", etc. etc.
I am thinking of FULLTEXT indexing the "address" column then writing PHP code to perform Natural Language search against it like -- SELECT * FROM customers WHERE MATCH(address) AGAINST('$user_entered_address');
Am I heading in the right direction here? No of a better way?
Again, sorry for not making myself clear in my initial post! :-(
Gene Kelley
gene@bizflowdesigns.com