» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 08-22-2006, 02:16 PM
reiffel reiffel is offline
Junior Member
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
reiffel is on a distinguished road
Default zip code locator

Let's see the brain childs work this one out! Ha!

I have a table that has a whole bunch of customers in there. One field that I am interested in is customer_zipcode. With that all of our customers have their zipcode listed.

Now, what if I want our managers to be able to put the store zip code in a box and then they define how many miles they want to travel such as 25 miles (hard code if you need to make it easier is fine).

Then what I would like to have returned is something similar to:
customer_id | customer_fname | customer_lname

How would I go about doing that? I figured that I would have to use a LEFT JOIN customers ON customers.zipcode = zip_code.zip_code .... but the rest I am kinda clueless on.

Anyone have any ideas on this?
Thanks!! -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-22-2006, 02:18 PM
lampard lampard is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lampard is on a distinguished road
Default

I think what you end up doing see is you get the manager drunk and push him out the door and replace him with someone younger and more eager to go wherever you damned well send him within a 1000 miles of your office. So don't worry about zipcodes just open the door and say "GO!" and see what happens. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EURid Opens Code of Conduct to Public outsourcingplans Web Hosting News 0 02-28-2007 03:25 AM
Welcome to currency code on OutSourcingPlans... osp Introductions 0 08-29-2006 06:39 PM
Switched servers now code is not executing... stops at => chatking PHP Programming and Tips 1 08-17-2006 03:20 PM
making code neater cowdary ASP forums and Tips 2 08-15-2006 03:03 PM
PHP version 5.1.4... code upgrade pointers anyone? utseya PHP Programming and Tips 1 08-14-2006 04:05 PM


All times are GMT. The time now is 01:55 AM.