Jump to content

Please help if ya can :)!!


soupy127

Recommended Posts

Hello there ! I am currently designing a golf website for my final year project.

 

What i am hoping to do is have is 2 drop down lists, one with the golfers names and the other with the name of the course (both of these list will be fed from the mysql database). then i want the user to be able to hit submit and it displaying that golfers results for that course?

 

any ideas how i would go about structuring the databases? and how i would go about coding the query?? any help would be greatly appreciatied as i dont even know were to start ! haha please help

 

thanks

Link to comment
Share on other sites

well you want to write an sql script taht searches your db table for those two key fields.

 

So something like this...

 

$sql = "SELECT * FROM table WHERE golfer_name='$golfer_name' AND golf_course='$golf_course';

 

something like that..not sure thats what you want exactly, but that can be a start...i hope

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.