title: Is there any way to have something returned by executing a DELETE directive in SQL?
body: <p>Basically, I have two SQL <code>DELETE</code> 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.<br>
  So is there anyways to have the <code>mysql_query()</code> function return true or false or something, after executing the first query?</p>
  
  <p>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.</p>