Re: Automatically changing data in database

From: Date: Thu, 24 Aug 2000 13:59:32 +0000
Subject: Re: Automatically changing data in database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-13412@lists.php.net to get a copy of this message
Siim Einfeldt wrote: > > > Is it a UNIX machine? - if so, I would create a script that rotates the > > articles and then a cron job to execute it at the particular hour. > > Thank you for so fast answer. Yes, I think it`s UNIX machine. Right now > with php&mysql I can get the right article, but how to change the article > at the right time? I`m not really a professional in this yet, so if you > could give me some urls, where I could see the code of something similar > or maybe you could tell me something more yourself, I would appreciate it. > > Thanks, > Siim Einfeldt hmmm..ok, so how do you store the articles? Does each one have a unique and sequential number? Come to think of it, if you store the articles by date, your php script can simply check what today's date is and then fetch the corresponding article. -- Marko

« previous php.general (#13412) next »