943,739 Members | Top Members by Rank

Ad:
Mar 18th, 2005
0

PHP question i think!

Expand Post »
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
Similar Threads
Reputation Points: 11
Solved Threads: 0
Junior Poster in Training
GR Web FX is offline Offline
66 posts
since Nov 2004
Mar 18th, 2005
0

Re: PHP question i think!

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.
Reputation Points: 115
Solved Threads: 2
Junior Poster
floris is offline Offline
152 posts
since Jan 2004
Mar 18th, 2005
0

Re: PHP question i think!

Is that fairly straightforward to do? i bought a book called PHP & MySQL for dummies but have only just really started reading it.
Reputation Points: 11
Solved Threads: 0
Junior Poster in Training
GR Web FX is offline Offline
66 posts
since Nov 2004
Apr 4th, 2005
0

Re: PHP question i think!

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!
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Apr 4th, 2005
0

Re: PHP question i think!

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!
Reputation Points: 63
Solved Threads: 12
Posting Pro in Training
autocrat is offline Offline
427 posts
since Feb 2005
May 27th, 2005
0

Re: PHP question i think!

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.
Reputation Points: 12
Solved Threads: 19
Posting Pro
techniner is offline Offline
521 posts
since May 2005
Jun 14th, 2005
0

Re: PHP question i think!

Check out phpfreaks.com. They have great information there.
Reputation Points: 10
Solved Threads: 0
Light Poster
Royalty Hosting is offline Offline
27 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: Breadcrumbs on Coldfusion Site
Next Thread in Site Layout and Usability Forum Timeline: Domain Name Divert





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC