It doesn't seem to print $status, ..so I tried adding my db connection right above the query and it still doesn't print $status. Not sure what I'm doing wrong...I checked status field..spelled correctly, and also users is the name of the table in the journals db.....hmph. Want it to print whatever value is in the status field..
$db = @mysql_connect('localhost','','');
mysql_select_db('journals');
$query = "SELECT status FROM users WHERE username = '".$_SESSION['username']."'";
$res=mysql_query($query) or die("SQL: $query<br />\nError: ".mysql_error());
if($row=mysql_fetch_array($res)) {
echo('Your current Account Type: '.$status.'<br /><br>');
} else {
echo('The provded username '.$_SESSION['username'].' could not be found<br />');
}