PHP date change script that calls a database

Hello,

I need to create a php script that whenever the date changes it calls the database for that days content.

Does anyone know where I can find a script to do this?

Thanks,

chad

Have a field in the database that has what date it is for, and then do
mysql_query(“SELECT * FROM TABLE WHERE date=$yourDate”);

You’d need to use a cronjob on Unix to do that :slight_smile: Google it.