$checkclass = $db_object->query("SELECT class FROM table_a WHERE username = '".$_SESSION['username']."'");
I am trying to call on a table from my mysql database, and tell it to use the current session's username to pull out the users class. It won't work though. Whenever I call on $checkclass it says Object, and thats all.
Any help would be greatly appreciated