I have the following HTML code. I have 2 php files: login.php and logout.php. When any user first comes to my page, I would like him to see the login link. After clicking lo
Try this.
You need to set a variable $logged_user to identify whether the user is logged in or not
$logged_user
Logout Register Login