Je moet ingelogd zijn om te stemmen.
$id = $userdata['user_id']; $query = mysql_query("SELECT user_points FROM phpbb_users WHERE user_id=$id"); echo "$query"; while($obj = mysql_fetch_object($query)){ $punten= "$obj->user_points"; }
$id = $userdata['user_id']; $query = mysql_query("SELECT user_points FROM phpbb_users WHERE user_id=$id"); echo "$query";while($obj = mysql_fetch_object($query)){ $punten= "$obj->user_points"; }