Jump to content

[SOLVED] Design Issue


freebsdntu

Recommended Posts

Hi guys,

I am building a system where there are 2 types of users,odinary user and super user,when they login,they will both have a control panel,but with different user actions based on their user type. So for the logged in page, should I write seperate pages for each type or should I just write one page, with conditional php?

Thank you in advance!

Link to comment
https://forums.phpfreaks.com/topic/82007-solved-design-issue/
Share on other sites

i think hostfreak is right, you will have expandable abilities, from the other hand with different pages maybe is easier and faster the design.

 

If you are not experienced programmer is better, for my opinion to have different pages, to avoid confusion. You can do something else as well that it is a bit of both... You can have a page panel.php that everybody goes and depending the user group, you include different files...

 

 

Link to comment
https://forums.phpfreaks.com/topic/82007-solved-design-issue/#findComment-416701
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.