php header not forwarding ie9
<p>I use the following which works perfectly in all browsers, except ie9</p>

<pre><code>$result = mysql_query("SELECT u_id, from users where (id = '$userID')",$db); 
$item = mysql_fetch_row($result);

$how_many = mysql_num_rows($result);

// if not a user send to reg
if ($how_many &lt; 1){ 
header("Location: /pages/registration");
} 
</code></pre>

<p>It simply does not forward - the header function does nothing - however, if i change the last block of the code to what is below, it works?!?!</p>

<pre><code>if ($how_many &lt; 1){ 
header("Location: /pages/registration");
// added echo for ie9
echo "&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;here i am ";
} 
</code></pre>

<p>I cannot fathom any logical reason for this, am I missing something?</p>
