title: PHP - Echo and die
body: <p>I realize <code>or die("message")</code> prints the message and exits, but how can I echo the message and exit?</p>
  
  <pre><code>$resolveGet = mysql_query($sqlGet) or exit("&lt;span style='padding-left:10px;'&gt;No results matching search term provided.&lt;/span&gt;");
  </code></pre>