How to direct member to their own page using PHP?

Discussion in 'PHP' started by soberang, Aug 16, 2008.

  1. #1
    Hi
    We would like to know how to create a php which can direct members to their own page after login in. The members could have different page according to the different type of memberships that they have signed up for and the different setting that they have set for their own page. Appreciate it if anyone could help. Thanks.
     
    soberang, Aug 16, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    You'll need to have access levels in your database (i.e. `access_level` ranging from 0 to 2, where 2 is the administration), and use a www.php.net/switch or multiple if/elses to output accordingly.

    Jay
     
    jayshah, Aug 17, 2008 IP