Re: Link problem - newbie question
| From: | brian | Date: | Sun, 09 Sep 2007 17:52:44 +0000 |
| Subject: | Re: Link problem - newbie question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261875@lists.php.net to get a copy of this message | ||
Suvarna Damodaran wrote:
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"Your meta tag is not closed (the attribute quote isn't even closed). <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> Additionally, don't put spaces around the "=" in your tags. briancontent="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>