<?php
session_start();
require_once("login.php");
// Check his status.
if (!empty($_SESSION['username' == 'test'])) // he got it.
{
echo " Hello Test Welcome";
}
else // bad info.
{
echo " ";
}

?>

its a script for only a member named Test in my database and he has to be logged in to use it so how would i make this work?