To: <[EMAIL PROTECTED]>
Sent: Monday, November 01, 2004 11:14 AM
Subject: Re: [PHP-DB] Something wierd with time() and curdate()
On Sunday 31 October 2004 22:45, Bobo Wieland wrote:
There is something wierd going on over here...
I have a date field, datum, in mysql that I cast to a timestamp an
On Sunday 31 October 2004 22:45, Bobo Wieland wrote:
> There is something wierd going on over here...
>
> I have a date field, datum, in mysql that I cast to a timestamp and check
> against time(). If the datum value is more than one day old the table finds
> a new random row and sets the datum fie
There is something wierd going on over here...
I have a date field, datum, in mysql that I cast to a timestamp and check against
time().
If the datum value is more than one day old the table finds a new random row and sets
the datum field to CURDATE().
Now, this has worked for two years now, but