I'm running the following query, expecting it to return an INTEGER, but it returns "Resource id #3"
What am I doing wrong?
$queryPlans = mysql_query("SELECT count(*) FROM infostash.rooms");
echo $queryPlans;
There are actually 15 rows in this table, and I would like to return the number 15. Any suggestions?
php.net(and it’s 20-something mirrors) down again so you couldn’t just read the–quite exhaustive–documentation? I don’t get it.