title: If MySQL Result Empty display a confirm box
body: <p>I'm using some crazy mixture of PHP/JavaScript/HTML/MySQL</p>
  
  <pre><code>$query = "SELECT * FROM faculty WHERE submitted = 0;";
  $result = mysql_query($query);
  $row = mysql_fetch_assoc($result);
  if($row != NULL) {  
     // Display a confirm box saying "Not everyone has entered a bid, continue?"
  }
  // If confirmed yes run more queries
  // Else nothing
  </code></pre>
  
  <p>What is the best way to have this confirm box display, before completing the rest of the queries?</p>