User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 401,435 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,866 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser: Programming Forums
Views: 2744 | Replies: 6
Reply
Join Date: Nov 2004
Location: England
Posts: 66
Reputation: GR Web FX is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
GR Web FX's Avatar
GR Web FX GR Web FX is offline Offline
Junior Poster in Training

PHP question i think!

  #1  
Mar 18th, 2005
Hey people,

for the past few months i have been looking into C++, java and php. My web design is mainly about flash, photoshop and dreamweaver so im trying to brush up on my programming skills.

Basically i have a client who wants me to design them a website which is based on his auto repair business. His company also sells its franchise to people. He wants a section where if someones car needs its bumper fixing, they can go on his website, type in their postcode, and the nearest auto repair technicians details will appear. like this site www.revive-uk.com

Is this easy to do? i know its a data driven site, but im a newbie to all this!

Thanks alot
GR Web FX
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2004
Location: Netherlands
Posts: 152
Reputation: floris has a spectacular aura about floris has a spectacular aura about 
Rep Power: 6
Solved Threads: 2
floris's Avatar
floris floris is offline Offline
vBulletin.com Staff

Re: PHP question i think!

  #2  
Mar 18th, 2005
You should make a MySQL database structure and insert the data of all the post codes & addresses of results for them. Then write the php code to run the queries and display the results.
Reply With Quote  
Join Date: Nov 2004
Location: England
Posts: 66
Reputation: GR Web FX is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
GR Web FX's Avatar
GR Web FX GR Web FX is offline Offline
Junior Poster in Training

Re: PHP question i think!

  #3  
Mar 18th, 2005
Is that fairly straightforward to do? i bought a book called PHP & MySQL for dummies but have only just really started reading it.
Reply With Quote  
Join Date: Mar 2004
Posts: 717
Reputation: Phaelax is on a distinguished road 
Rep Power: 6
Solved Threads: 29
Phaelax Phaelax is offline Offline
Master Poster

Re: PHP question i think!

  #4  
Apr 4th, 2005
it's pretty simple to do. I started php a week ago and already got more than that running. But if you need help, we're all here at daniweb!
Reply With Quote  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: PHP question i think!

  #5  
Apr 4th, 2005
is it that simple to do the postal code thing... I've seen that sort of engine on the net for sale, and it's no cheap... something about comparing the PC and distance using Longt/Latt etc. ?

Hope it is that simple... might have a go as my first real project!
Reply With Quote  
Join Date: May 2005
Posts: 494
Reputation: techniner is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 18
techniner techniner is offline Offline
Posting Pro in Training

Re: PHP question i think!

  #6  
May 27th, 2005
It is very easy to do something like this and you can do a fopen of a postal site to parse and get all your zip codes.

Do this like once a month so you have the most current data.

Have the parse script insert the data into mysql.

Then use the coordinates to figure out milage from starting point A.

Then its a simple form.. Insert Zip..

Let the PHP find the zip in the table.. find coord's from start point A to ZIPcode end point B.

milage in between and thats your distance.
Reply With Quote  
Join Date: Jun 2005
Posts: 27
Reputation: Royalty Hosting is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Royalty Hosting's Avatar
Royalty Hosting Royalty Hosting is offline Offline
Light Poster

Re: PHP question i think!

  #7  
Jun 14th, 2005
Check out phpfreaks.com. They have great information there.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Site Layout and Usability Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 12:49 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC