Search found 1 match

by peanut2222
Mon Oct 26, 2009 10:37 pm
Forum: PHP - Code
Topic: Login / Logout php link
Replies: 2
Views: 442

Login / Logout php link

Hi all, Im new to php and Im having trouble creating a login/logout link for my page that displays as: Log Out | My Account. when a member is signed in, And: Log In | Sign Up When no one is signed in. The code I've been working with so far is: <?php if(!isset($_SESSION['userid'])) { echo "<a hr...