Creating type that changes every hour for a schedule

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
JayBaron
Forum Newbie
Posts: 1
Joined: Sat Mar 19, 2011 2:33 pm

Creating type that changes every hour for a schedule

Post by JayBaron »

Ok so I'm the webmaster for my college's radio station and I wanted to add some text on my main page that changes to show what show is currently live on the air. The website is http://wbgufm.com/ I want to put it under the listen live button I learned a little of PHP, but I haven't used it in a while I know I have to use the date () function and I've been to http://php.net/manual/en/function.date.php, but I'm still lost. If someone could just give a push in the right direction I would extremely greatful.
fugix
Forum Contributor
Posts: 207
Joined: Fri Mar 18, 2011 8:01 pm

Re: Creating type that changes every hour for a schedule

Post by fugix »

what database do you use for your website? seems like you could set up some if() functions and set your database to update when another show is live.
Post Reply