hey guys
i have a page im building with a login form, and when the user hits submit the info is posted to the same page and is given a userclearance. now, at the top of the code i want to have an if statement
if ($submit)
{
if ($userclearance = 'admin'){Goto this page}
elseif($userclearance = 'member'){Goto this page}
else {Goto this page}
}
is there a command in php or html that will do the {Goto this page} part? i want the page to switch and not execute any more code on the current page
thanks 😉