Page 1 of 1

Page changes according to the hour

Posted: Wed Jun 16, 2004 6:07 pm
by britz
Somebody can help to construct a web site me to put a programming of one radio and that the page changes according to the hour of the programs to emit itself (now in air xxx it programs)
Thanks!

Posted: Wed Jun 16, 2004 6:13 pm
by markl999
I'm not sure your question is clear enough for anyone to understand (though your English is quite good for someone from Uruguay ;)).
Could you try to rephrase it?

Posted: Wed Jun 16, 2004 6:18 pm
by pickle
To be honest, I really don't know what you're talking about (very unclear). But, here's how you can do different things depending on the hour.

Code: Select all

$curr_hour = date('H');
switch($curr_hour)
{
   case 0:
     //do stuff if it's between 12:00 and 12:59 AM
     break;
   case 1:
     //do stuff if it's between 1:00 and 1:59 AM
     break;
   //and so on and so forth......
}

Posted: Wed Jun 16, 2004 6:21 pm
by britz
Okey which I need is to make a data base with the programs that are emitted in the radio but I want that they are in the page according to the hour (example: now live Hours are the 14:00 xxx program)
Thanks!!

Posted: Wed Jun 16, 2004 7:20 pm
by snpo123
when you say radio do you mean the radio people listen to (AM/FM) or a radio button in html. Im pretty sure you mean the first, but ill ask just to be sure.

Posted: Wed Jun 16, 2004 8:09 pm
by britz
Yes people listen to (AM/FM) Radio

Posted: Wed Jun 16, 2004 10:20 pm
by d3ad1ysp0rk
I believe he wants a countdown until the show starts..

Posted: Wed Jun 16, 2004 10:51 pm
by feyd
yeah.. sounds like a live schedule/playlist/countdown thingy...

Posted: Thu Jun 17, 2004 10:53 am
by britz
Attention I do not want that she is listened to the subjects that are
sounding in the radio Also could be algun system of Banner which they
show according to the hour
Thanks!!

Posted: Thu Jun 17, 2004 10:07 pm
by John Cartwright
tell me what you want in your own language... and i'll get it translated :)
make sure u tell me what language it is too

Posted: Thu Jun 17, 2004 10:13 pm
by markl999
All your base are belong to us

Posted: Thu Jun 17, 2004 11:06 pm
by britz
Les escribo en Spanish haber si me logran entender :oops:
Lo que busco es alguna forma de hacer una base de datos con la programación de una Radio (Fm) y que muestre en la pagina web el programa que esta saliendo al aire.
Por ejemplo: en estos momentos son la 12 am y escuchamos ahora el programa chart music
Gracias


I write to them in Spanish to have if they manage to me to understand What I look for is some form to make a data base with the programming of one Radio (Fm) and that shows in the page Web the program that this leaving to the air. For example: at the moment they are the 12 a.m. and we listened to the program now chart music
Thanks!!