Hi,
I'd like to know if there is a way in PHP to tell the script to dismiss everything that comes after
Example :
<?php
if (isset($_SESSION["sessUserID"]))
{
fnError("dcjiodsjiosd");
// a way to tell it to dismiss everything that comes after
//this line. The problem is it has to take into account that
// the } sign that closes the if statement will be dismissed too...
}
?>
Any suggestion? Otherwise what I will do is just redirect the user to another page if the var is not set