Jump to content

Recommended Posts

Hello people!!

I hope you can help me out here. I need some direction in making a gig guide for my website. What i want to do is when you open the page up, it will display whats on for the current day, eg. monday 21st november 2005, at the top of the page and follow with the rest of the week/month. These 2 links below show what i want

[a href=\"http://northcotesocialclub.com/pages/giglist.php\" target=\"_blank\"]http://northcotesocialclub.com/pages/giglist.php[/a]

[a href=\"http://cornerhotel.com/\" target=\"_blank\"]http://cornerhotel.com/[/a] (click on gig guide?

 

i need some basic from scratch ideas/explanations as i'm not sure on how to go about using php. i have a server so if you could give me an idea of what i need to do to set this up i'll be stoked. I'm using dreamweaver, html to edit the code

 

thanks in advance :)

Link to comment
https://forums.phpfreaks.com/topic/2907-create-a-gig-guide/
Share on other sites

  • 2 weeks later...

Use an MySQL database, and PHP.

 

Have a date field in the database, and when the page loads it uses a mysql query to collect the gig events.

 

something like

 

"SELECT * FROM 'table name' WHERE Date > now()"

 

Not sure weather i have the correct syntax look into it, but something like that should collect all the gig events that occur after todays date.

 

Is that the sort of thing you're after?

 

Chris

Link to comment
https://forums.phpfreaks.com/topic/2907-create-a-gig-guide/#findComment-9959
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.