Using PHP, I am trying to delete a record, but I want to check if it was successful or not. Is anything returned from a successful DELETE FROM foo where bar = \'stuff\
DELETE FROM foo where bar = \'stuff\
For other types of SQL statements, INSERT, UPDATE, DELETE, DROP, etc, mysql_query() returns TRUE on success or FALSE on error.
INSERT
UPDATE
DELETE
DROP
mysql_query()