> Or this works well too and might be faster for the DB. > > SELECT * FROM SomeTable WHERE create_date BETWEEN $start_date AND > $end_date
Benchmark it yourself, but I've found that BETWEEN is slower. It's easier to read, though. ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php