Hello members! I have successfully created a website with a Registration and Login page. But still there is an issue. When someone logs in, the Login and Register button still exists in the menu. But as all of you know that, when someone logs in, the Login and Register buttons should disappear, and there should be a Logout button instead. Please help me, how can I write PHP code which can solve my problem.
Register, Login and Logout button using PHP
15
Hello members!
I have successfully created a website with a Registration and Login page. But still there is an issue. When someone logs in, the Login and Register button still exists in the menu. But as all of you know that, when someone logs in, the Login and Register buttons should disappear, and there should be a Logout button instead. Please help me, how can I write PHP code which can solve my problem.
I have successfully created a website with a Registration and Login page. But still there is an issue. When someone logs in, the Login and Register button still exists in the menu. But as all of you know that, when someone logs in, the Login and Register buttons should disappear, and there should be a Logout button instead. Please help me, how can I write PHP code which can solve my problem.
- KirkMcD
- [1] reply
- eswariseo
- yoursswathi
- Big Squid
- teguhyuliantos
- jmartinez
- Nikolas
- WebdevelopmentGroup
Next Topics on Trending Feed
-
15