I am wondering how I can hide two links in my main.php page so when i am not logged in, i can't see the links on my main.php page. Below is my code and basically even when I am logged off, if I type "localhost/main.php" I would still be able to click on those links ( links being "» Logout" and " » Creation". How can i make it that when i am logged off, those links aren't visible or clickable to me. thanks in advance. Below are the two codes in my php file:
» <a href="logout.php">Logout</a>
» <a href="creation.php">Creation</a>