title: why wont this query delete details from all tables?
body: <p>I am trying to delete records from tables matching users ID while i delete the user. but somehow it deletes records only from the cv table.</p>
  
  <p>what i am trying is</p>
  
  <pre><code>if($_GET['deluser'] !='1'){
  
           $qr = "delete from members where member_id IN(".$_GET['deluser'].")";
           $qr = "delete from company where caller_id IN(".$_GET['deluser'].")";
           $qr = "delete from cv where agent_id IN(".$_GET['deluser'].")";
           $st = $db-&gt;prepare($qr);
           $st-&gt;execute();        
  
      header('Location: users.php?action=DELETED');
      exit;
  </code></pre>
  
  <p>what could i be doing wrong?</p>