Basically, I have two SQL DELETE
queries that a PHP script processes. However, I want the second query to be executed only if the first one successfully deletes a row in the designated table.
So is there anyways to have the mysql_query()
function return true or false or something, after executing the first query?
If there is no way to do so, then I've already come up with a method for achieving the result I want. However, being able to do it this way would be much simpler, and make much more sense as far as the logic of my code is concerned.