Re[2]: [PHP] MySQL query

From: Date: Mon, 12 Jan 2004 20:32:17 +0000
Subject: Re[2]: [PHP] MySQL query
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-174367@lists.php.net to get a copy of this message
RD> SELECT whatever FROM table WHERE date_column_name BETWEEN '2004-01-09 RD> 00:00:00' AND '2004-01-04 23:59:59' Actually sorry, inverse the seconds (put the 00:00:00 onto the lower date, the 4th) so it encompasses the whole period. You might actually be able to not even include the seconds, try it and see what happens. -- Best regards, Richard mailto:rich@launchcode.co.uk

« previous php.general (#174367) next »