My knowledge of PHP is limited yet growing, though I am stuck with this:
<a href="index.php">Home</a>
<a href="about.php">About</a>
<a href="member_search.php">Members</a>
<a href="profile.php">View Profile</a>
<a href="login.php">Login</a>
I have played with it, though every attempt has not worked. I want it to check whether a user is logged in or not and show the relevant links.
So “Logged In” would have “Home”, “Members”, “View Profile”, “Edit Profile” and “Logout”.
“Logged Out” would have “Home”, “Register”, “Login”, etc.
It’s hard to answer without seeing how your users are logged in, but I normally use something like:
Based on your comment: