Jump to content

How Can I Build A Directory in php?


waynem801

Recommended Posts

Hello,

I would like to build a golf course directory like this one

example : http://www.golflink.com/golf-courses/state.asp?state=NC

 

It would be for North Carolina Courses, But it would have all the same functions..

 

It's functions are:

Search for a course,

Courses Listed by City,

And the cities show near by courses.

And the courses have a little bit of info...

 

So how can I clone this? I've looked at php scripts that are link directories, but that isn't what i want..

 

Also It is important that this directory is SEO Friendly with Friendly URL's :)

 

Thanks,

Wayne :P

Link to comment
https://forums.phpfreaks.com/topic/86965-how-can-i-build-a-directory-in-php/
Share on other sites

Well, here's my site http://www.ncgolfers.com

 

I would consider myself very good at CSS and Design, but when it comes to php, I'm just a hacker, I can take existing scripts and "maybe" hack away a little, but very little...

 

Depending on cost I would love to pay someone to do it, But at the same time... with a little advice it would be great to learn to do it on my own :) So to your ? Either or really... :)

Directory? this  is just query string and database manipulation using query string

 

eg.. the state =NY  NY will be your search key when querying your DB

 

does that makes sense

 

Oh really, hmmmm.... Ok I get that much, but how do they have it set up do you suppose? How does one build a Database like the example? maybe that's more of what I'm search for :)

 

Sometimes it's hard to explain what you're really looking for, when you don't know enough to know what you're lookin for :P

 

So any advice on how to go about the above example would be wonderful

 

Wayne

I'll try to explain..

Query string are the are formated like this http://www.golflink.com/golf-courses/state.asp?state=NC

state=NC<----- is your query string to use that u need to do this

 

$_GET['state']<------ now this has the value which is  NC

 

now to use that thing to get the data you need by NC you will do something like this

 

select * from state where states = 'NC'

<--- thes will return all the info beating NC on them

 

but you still need a database storage for that

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.