Jump to content

header or redirect?


freelance84

Recommended Posts

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

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.