Database: motion_world
table: accounts
columns: id | username | password | register_date | account_level
When i go into HeidiSQL -> Query
and write:
SELECT account_level FROM accounts WHERE username='Sha11e'
it returns: administrator
But if I, in a PHP file, write:
mysql_connect("localhost","root","");
mysql_select_db("motion_world");
$hi = mysql_query("SELECT account_level FROM accounts WHERE username='Sha11e'");
echo $hi;
I get: Resource Id #3
What the hell? :s