I dont know what I'm doing wrong here, please can someone help me on this. I have the following file being called: "referals.php" with the .php scripting in it and one template being used as well called: "reflist"... Any help would be appreciated, no matter what I do, nothing is outputed from the database. I see the columns correctly, but no usernames or number of referrals, I know there are many members with referrals at this time also. Maybe it's just something messed up in my coding.. PLEASE HELP...
HTML Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - Top Referrers</title>
$headinclude
</head>
<body>
$header
$navbar
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="thead" colspan="3"><b>Top Referers!</b></td>
</tr>
<td class="alt1" align="center" $stylevar[tablewidth]><smallfont><b><u>Members</u></b></smallfont></td>
<td class="alt2" align="center"><smallfont color="{tableheadtextcolor}"><b><u>Actual
# of referrals verified</u></b></smallfont></td>
<td class="alt1" align="center"><smallfont><b><u>Members
Referred<br>
And Successfully Registered/Activated</u></b></smallfont></td>
</tr>
<tr align="center">
<td><smallfont><b><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$referrer[userid]">$referrer[username]</a></b></smallfont></td>
<td><smallfont>$referreractual</smallfont></td>
<td><smallfont>$referrerlist</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
$footer
</body>
</html>