Hello friends🙂
How can I exit the function completely once the first if statement is TRUE. I tried break; but that just gives me errors"Cannot break/continue 1 level "
Function permissions($groupid,$testvalue){
if($groupid==5){
break;}
if($groupid!== $testvalue ){
echo "<SCRIPT LANGUAGE='JavaScript'>
window.open('emailAdmin.php','','scrollbars=no,width=570,height=340');
window.parent.location='/interface.php';
</SCRIPT>";
exit();
}