RE: [PHP] Joke of the day problem
| From: | Jim Moseby | Date: | Thu, 08 Mar 2007 13:59:22 +0000 |
| Subject: | RE: [PHP] Joke of the day problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250071@lists.php.net to get a copy of this message | ||
>
> Hi,
>
> again me with the silly questions...
>
> I need a script that will take data from MySQL database and
> display one
> row each day.
>
> I have googled, but with no luck.
>
> The database retrieving mechanism is of course clear but I
> really dont
> know how to do a 24h delay before the next row is displayed.
>
Maybe I don't understand the application, but this sounds like a job for
cron. Have cron kick a script off that grabs a record from the database
once each day.
JM