So I have my query in which I am trying to get the "password" field to return because I am having issues with my login:
$res = $db->query("SELECT `password` FROM users WHERE username = 'joeybab3'");
and I get the error :
"object of class mysql_result cannot be converted to a string"
So some googling got me this:
list($res) = $res->fetch_row;
but that just returns blank when I use echo.