title: DELETE FROM multiple conditions
body: <p>I have two conditions in a DELETE MySQL statement. But it does not delete the record.</p>
  
  <pre><code>$sql="DELETE * FROM sportevent.event_registrations WHERE event_registrations.id = '$id' AND event_registration.eventname = $event";
  </code></pre>
  
  <p>Is there something wrong with my query? It works if I use only one WHERE condition, but I need to use two.</p>