Get the Solution Explorer which is available in right vertical tab , if not View -> Solution Explorer
Right click on the Reference node and select Add Reference menu item
Select .NET tab
inside that you can simply select system.XML reference
<?php
if (isset($_SESSION['loggedin'])) {
?>
You are already logged in
<a href='logged.html'> Go!</a>
<?php
} // That bit of code checks if you are logged in or not, and if you are, you can't log in again!
if (isset($_POST['submit'])) {
$mail =...
Try
if(isset($_SESSION['loggedin']))
{
die("You are already logged in!
<a href='logged.html'> Go</a>");
} // That bit of code checks if you are logged in or not, and if you are, you can't log in again!
if(isset($_POST['submit']))
{
$mail = mysql_real_escape_string($_POST['email']); // The...
do something like
$id = $_GET['id'];
mysql_query("SELECT * FROM news WHERE `id` = '" . $id . "'");
while($news = mysql_fetch_assoc($query))
{
echo $news['content'];
}
then visit page.php?id=IDHERE and it should display the article
its also a $_GET