alert in php echo
<p>I'm using Javascript alert box in echos. The problem is that after the message box appears the page still goes to another page instead og staying on the same page.This is how I write it: </p>

<pre><code>if(!isset($studii))
{
    echo "&lt;script&gt;alert('Te rugam alege ultima scoala absolvita!!');&lt;/script&gt;";
    echo '&lt;script language="javascript"&gt;return false;&lt;/script&gt;';
} 
</code></pre>

<p>Any idea on how I can make this work and after clicking ok to stay on the same page and not going to another? the problem I guess is that the return false isn't working.</p>
