Hey guys, so I'm new in PHP and i just started learning and I'm having a problem on PHP code for Log in.

So my question is, when there is a log in button or just text on the all the webpages and when you log in (ex. placed on the top right of the site), how do you make the log in button as log out, when an admin or a user logs in? or make the main navigation menu change (ex. adding a User Home or Menu, Profile, etc...)?

Thanks for the help. :)

02-17-2014, 05:04 PM

c1lonewolf

For most it's two sets of scripts. One for the public view and one set in an administration directory for admins. Admins usually get redirected to admin directory files at login.