lo all =)
On everything-to-do-with-it.co.uk on the homepage I have:
<?
if(!isset($uid)) {
?>
<a href="http://www.everything-to-do-with-it.co.uk/members/member.php">Log in</a
<?
}
else {
?>
<a href="http://www.everything-to-do-with-it.co.uk/members/member.php"><?=$uid?>'s Control Panel</a>
<?
}
?>
At the moment that index page does not have the include file which I use to login, sign up etc when $uid is not set.
When i log in on a different page, for example members/member.php then go back to the main index, how can I get it so it says USER's Control Panel..
i.e. how do i get the variable..
Thanks
Ben