title: MySQL delete request not working
body: <p>Anyone got any idea why out of these two mySQL requests, the first one works and the second one does not?</p>
  
  <pre><code>$bdd-&gt;exec('UPDATE users SET status = \'registered\' WHERE username="' . $userz . '"'); // working:)
  
  
  
  $bdd-&gt;exec('DELETE ' . $_SESSION['prenom'] . 'friendlist WHERE name="' .  $_POST['deletefriend'] . '"'); // not working :(
  </code></pre>
  
  <p>There is no error displayed but the data does not get deleted in the database.</p>