squawell
12-09-2001, 03:38 PM
$countposts=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE userid='$bbuserinfo[userid]'");
$todays=number_format($countposts[userposts]);
this code is work but not perfect~~~
when i use admin account login it seems normal but i use member
account it seems wrong~~
for example:
admin login:show 11 posts--this is right!!
member login:show 0 or 1 posts--this is wrong!!
why??
$todays=number_format($countposts[userposts]);
this code is work but not perfect~~~
when i use admin account login it seems normal but i use member
account it seems wrong~~
for example:
admin login:show 11 posts--this is right!!
member login:show 0 or 1 posts--this is wrong!!
why??