Link problem - newbie question

From: Date: Sun, 09 Sep 2007 16:09:17 +0000
Subject: Link problem - newbie question
Groups: php.general 
Request: Send a blank email to php-general+get-261874@lists.php.net to get a copy of this message
Hi, I think I am having an unusual problem - don't know where I am going wrong. This is the code that I use to display the page once the user is logged in. I want to display a Logout link so the user can logout. But, for some reason, I am unable to display both the welcome message and the Logout link simultaneously unless I insert the line <p><a href = "something.htm">hi</a></p> on top and below the welcome line. Without this line only Logout (without the link) is displayed. What am I doing wrong? <?php include 'accesscontrol.php'; ?> <html> <head> <title> Members-Only Page </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1 </head> <body> <p><a href = "something.htm">hi</a></p> <h1>Welcome, <?=$username?>! </h1> <p><a href = "something.htm">hi</a></p> <p><a href = "logout.php">Logout</a></p> </body> </html> Thanks, Su

« previous php.general (#261874) next »