Jump to content

Send to a different page


Greaser9780

Recommended Posts

I am running a checkuser.php with my login system. How can I direct them to the properpage in my login_success.php. I believe I understand what to do I just don't know which command to use to send them to the proper user level page. This is what I have now that doesn't work. I don't think include is the right statement. Can anyone point me in the right direction?

<?
session_start();

include 'welcome.php';
   


if($_SESSION['user_level'] == 0){
    include 'user_level_0.html';
}
if($_SESSION['user_level'] == 1){
    include 'user_level1.php';
}
?>
Link to comment
https://forums.phpfreaks.com/topic/18936-send-to-a-different-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.