I have the following query using php's PDO
$STH = $DBH->query('
SELECT COUNT(*) AS hits FROM table WHERE column = "' .$variable. '"
');
The table is empty, would this have something to do with the error?
Does it have something to do with hits
being 0?
I am selecting the data from a MSSQL database.