squawell
01-08-2002, 07:23 AM
i made this code:
$squawell123 = mktime(0,0,0,date("m"), date("d"), date("y"));
$posttodays=$DB_site->query_first("SELECT count(*) AS count FROM post WHERE dateline>='$squawell123' or userid='$bbuserinfo[userid]'");
$post[userpoststoday]=number_format($posttodays['count']);
i want to show up the post of today for each member's post
i use this code in showthread.php~~
but it always show the admin's number~~~
so what is the problem??
could someone tell me plz??
$squawell123 = mktime(0,0,0,date("m"), date("d"), date("y"));
$posttodays=$DB_site->query_first("SELECT count(*) AS count FROM post WHERE dateline>='$squawell123' or userid='$bbuserinfo[userid]'");
$post[userpoststoday]=number_format($posttodays['count']);
i want to show up the post of today for each member's post
i use this code in showthread.php~~
but it always show the admin's number~~~
so what is the problem??
could someone tell me plz??