Re: search of data base - again

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

 



>
>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.



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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux