RE: [PHP] sqlite AND OR query ?

2007-05-09 Thread Brad Fuller
[EMAIL PROTECTED] wrote: Hello, I want to select two dates one being todays date and the other being -00-00 which just a date in the database when no proper date has been entered. Ive tried this but it does not work... $today = date('Y-m-d'); $result = sqlite_query($db, SELECT *

[PHP] sqlite AND OR query ?

2007-05-08 Thread chris
Hello, I want to select two dates one being todays date and the other being -00-00 which just a date in the database when no proper date has been entered. Ive tried this but it does not work... $today = date('Y-m-d'); $result = sqlite_query($db, SELECT * FROM domains WHERE date =

Re: [PHP] sqlite AND OR query ?

2007-05-08 Thread Richard Lynch
On Tue, May 8, 2007 7:09 pm, [EMAIL PROTECTED] wrote: I want to select two dates one being todays date and the other being -00-00 which just a date in the database when no proper date has been entered. Ive tried this but it does not work... $today = date('Y-m-d'); $result =

Re: [PHP] sqlite AND OR query ?

2007-05-08 Thread chris
Thanks Richard. - Original Message - From: Richard Lynch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Wednesday, May 09, 2007 1:49 AM Subject: Re: [PHP] sqlite AND OR query ? On Tue, May 8, 2007 7:09 pm, [EMAIL PROTECTED] wrote: I want to select two