Re: search of data base - again

From: Date: Fri, 30 Mar 2012 17:16:13 +0000
Subject: Re: search of data base - again
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-48240@lists.php.net to get a copy of this message
> >I think MySQL wants the date in YYYY-M-D format, did you try changing >$Date = date('M d Y'); >to >$Date = date('Y-m-d'); > >- Matijn Tru dat. But mySql doesn't want the dashes embedded. The format string should be "Ymd" instead.

« previous php.db (#48240) next »