I am developing a website in which a cookie is set when the user logs in.
Before the user logs in, a < li > shows the test “Client Login”. This is fine, but what I want is to change the content when they are logged in by checking that the cookie is set.
IE:
NOT Logged in:
<li><a href="#">Client Login</a></li>
Logged in:
<li><a href="#">Client Tools</a></li>
I thought that this could be done by PHP or javascript or anything?
Can anyone help please?
(Fairly new to this.)
Thanks very much!
try: