I have a database with a date field in this format
20041016
I'd like to count how many records were made on each day (except today) and average them. Can I do this in one query or will I need to do some more PHP stuff after I get some results? Thanks.


Bare bones so far:
$sql = "select date1 from $table_name where date1 != '$today'";
Jeff

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



Reply via email to