Announcement

Collapse
No announcement yet.

can anyone clear this mess up?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • can anyone clear this mess up?

    $getreplies=$DB_site->query_first("SELECT COUNT(userid) AS posts FROM post WERE userid=$userreplies");
    $totalreplies=$getreplies['posts'];
    $userreplies=$bbuserinfo['userid'];

    ok I want to display the users post count on the main page and I need to know what exactly to paste into index.php, I think its something along the lines of the above

    thanks
    Rheena.com For Xbox360 Wii-u PS Vita 3DS iphone ipad Android Devices And More

  • #2
    Just use $bbuserinfo[posts] in your template somewhere...no need for all the other stuff.

    Comment

    Loading...
    Working...
    X