freelance84 Posted April 22, 2010 Share Posted April 22, 2010 The site I am creating has 3 different types of users all of which will see a different homepage. To achieve this when a user registers the type of account is also stored in the members table, i.e. 1, 2 or 3. My question is, after the check_login.php has checked the login details I will run; if($type = 1) {.......} What's the best thing to put here if the target page is type1h.php? Link to comment https://forums.phpfreaks.com/topic/199382-header-or-redirect/ Share on other sites More sharing options...
Pikachu2000 Posted April 22, 2010 Share Posted April 22, 2010 header(); exit(); Link to comment https://forums.phpfreaks.com/topic/199382-header-or-redirect/#findComment-1046410 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.