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\
you could try this for your php code, placed after your query runs:
if (mysql_affected_rows() > 0) { echo "You have successfully updated your data."; } else { echo "The data you submitted matched the current data so nothing was changed."; }