I am creating a login system and the idea I have is when someone logins , an if statement will check the user level, and for each level it will run a different code , something like
if ( row['userLevel']== 2 ) {
// here comes the whole page
};
if ( row['userLevel']==1 ) {
// here comes the whole page in a different way
}
or should I use only one page , and evrytime I need to load something specific to a level I use the if statment
</div>