title: I want to delete from two tables but it doesn't work
body: <p>I have trying with this code...</p>
  
  <pre><code>&gt; if($del == true)      
  {
  
  mysql_query("DELETE FROM member WHERE username = '".$del."' ");
  
  mysql_query("DELETE FROM register WHERE username = '".$del."' ");
  
  mysql_db_query("cbcompany");
  echo 
  
  "&lt;script&gt;
  
  alert('Remove one member out :/(');window.location = 'member.php';
  
  &lt;/script&gt;";
  }
  </code></pre>
  
  <p>but it just delete from only "register" table but in "member" table it didn't delete out
  How I can do? 
  Thank you for your answer.</p>