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
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... :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.