How can I make this into one querie. I belive you can just not smart enought. Still a n00b.
PHP Code:
$getpoststoday=$DB_site->query_first("SELECT count(*) AS count FROM post WHERE dateline>='$vbs_today'");
$poststoday=number_format($getpoststoday[count]);
$getthreadstoday=$DB_site->query_first("SELECT count(*) AS count FROM thread WHERE dateline>='$vbs_today'");
$threadstoday=number_format($getthreadstoday[count]);