How to make a javascript redirect within a php if statement
<p>I am developing a personality test, and php result script now just echoes a personality description based on an if statement:</p>

<pre><code>if ($i = 5 AND $alpha[$i] &gt;= 9 ) {
    echo "  Description ";
}
</code></pre>

<p>However, instead of this description, I would want to make a redirect to another url.
Can't seem to figure this one out.
Cheers,
Jelmar</p>
