I have been playing with this for hours now, still not luck. Can anyone please give me a knock in the right direction. This is the code I'm using now, but I"m still getting nothing to display. Please help
Code:
require_once("./global.php");
$threadWanted = 715925;
$replies = $DB_site->query_first("SELECT replycount FROM " . TABLE_PREFIX . "thread WHERE threadid = " . intval($threadWanted));
echo "$replies['replycount']";