The users table that I have contains 0 users, with rows userid, firstname and lastname. When I execute this query, I get: (10, mysql result). Shouldn't this return boolean false since there are no users in the table?
$count = mysql_query("SELECT userid FROM users WHERE userid = '$userid' AND trash = '0' ORDER BY DATETIME DESC");
var_dump($count);
I'm just trying to find the count of total users in the table.