you really should do session variables... but this should give you a headstart
<?
if ($_SESSION['username'])
{
if ($_SESSION['readcount'] == 0)
{
echo "Welcome $_SESSION['username']."
$_SESSION['readcount'] = 1;
}
else
{
echo "You're logged in as ZZZ.";
};
};
?>
switch the variables how you feel like. i use sessions when i deal with logins and such, as they go from page to page.
a rundown of this is to set it the first time they see the information, a value gets set to 1. if the value is not 1 (they've never seen the page), one message is displayed, after that, then they will see another message.
fairly simple. tip: learn sessions, it seems weird to not use globals (i dont like doing it yet, but living with it) but sometimes it gets easier.