![]() | Join Date: Oct 2007 | iTrader: (0) |
sql and plugin
how do i show the rep in the navigation bar?
i added to navbar template this
Reputation: $reputation
and i made this plugin
$query = "SELECT reputation FROM" . TABLE_PREFIX . "WHERE userid=" . $bbuserinfo[userid] . );
$reputation .= mysql_query($query);
but on the site it only says "Reputation: " and blank.
my plugin is hooked on navbits, did i get the right location? or did i mess up the sql thx
i added to navbar template this
Reputation: $reputation
and i made this plugin
$query = "SELECT reputation FROM" . TABLE_PREFIX . "WHERE userid=" . $bbuserinfo[userid] . );
$reputation .= mysql_query($query);
but on the site it only says "Reputation: " and blank.
my plugin is hooked on navbits, did i get the right location? or did i mess up the sql thx





Linear Mode

