page not found error in header
<p>The following basic code is working as expected.</p>

<pre><code>&lt;?php
mysql_connect("localhost", "user", "user@123") or die(mysql_error());
echo "Connected to MySQL&lt;br /&gt;";
?&gt;
</code></pre>

<p>What all I need is that instead of mysql_error, page not found 404 error should be returned.
I am looking for the shortest possible code since this is going to be used as load balancer check.</p>

<p>The following does not seem to work. I get a blank page.</p>

<pre><code>mysql_connect("localhost", "user", "user@123") or die(header("HTTP/1.0 404 Not Found"));
</code></pre>
