title: PHP if a table table row exists
body: <p>In PHP, is there a way of making the following statement to check if a row exists?</p>
  
  <p>If "the table cases has a "passenger" field with the value of 4 WHERE <code>case</code>= '$case' {
  code...
  }</p>