Hello,
I am new to PHP and I really need someone that knows their stuff to help out a newbie ?
I basically want to have a PHP code that accesses a database such as this:
on and after 10 JAN 06 @ 12:30am redirect to – page1.htm
on and after 17 JAN 06 @ 07:30pm redirect to – page2.htm
on and after 23 JAN 06 @ 12:00am redirect to – page3.htm
I also want to be able to change the dates and times for the next year and so on using Php “UPDATE”. So really I am looking for a Php code that will get the time and date from the server and then match it with the time and date in a Database and if the date and time of the server is after the date and time of the Database redirect to page1.htm and so on if the date is after the next date and time redirect to page2.htm.
Can anyone please help me as I cannot find a code anywhere that will do this,
Regards