I have this session variable which i am trying to set to an access level when the users logs in with this:
$accessquery = mysql_query(\"SELECT roleid FROM perso
To figure out what's going on, I recommend you to use
print_r($any_variable);
See http://php.net/print_r