24.10.2016, 08:21
If the query has no effect, check your mysql logs. You may not have the privileges to execute a DELETE query (depending on the user you have connected with).
And why do you even need a SELECT query, execute the DELETE query in the command and use cache_affected_rows in the callback specified in mysql_tquery to see if any row was affected (deleted).
And why do you even need a SELECT query, execute the DELETE query in the command and use cache_affected_rows in the callback specified in mysql_tquery to see if any row was affected (deleted).