Re: Joke of the day problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mar 8, 2007, at 5:30 AM, Delta Storm wrote:

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.


Thanks in advance :)


I would write the query results to a php file as string variables and when someone requests the page have a date conditional to decide which string to display. Or if you want to pull a joke from the database one at a time just use date to determine which one. For this you may have to have a persistent php file
to include to keep track.
Ideas; maybe one looks good?
Best
Jeff k

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux