When a user is not logged in I am trying to show
Support || Log In
When they are logged out it should say
Support || Log Out
<
Not sure about the result of your function, but to start you were not escaping properly. Secondly, why not just use one li
to house the correct link as follows:
- Support
- Logout";
}else{
echo " Member Login";
} ?>