Uh, alright...
<?php
if($_SESSION['username']){
echo '<p class="log"> You are logged in as </p><p class="user">'.
$_SESSION['username']. '</p><p class="log">, Nice.</p>';
}
else{
echo '<form name="input" action="login.php" method="post">
<p class="input">User ID:</p>
<input class="textbox" type="text" name="username" />
<p class="input">Password:</p>
<input class="textbox" type="password" name="password" />
<input class="loginimage" type="image" src="Style/Images/login_inactive2.png" alt="Submit Button" />
</form>';
}
?>
At the start I have <?php session_start(); ?> as well...
And as I said, it works properly if it is gotten using include in a .php file, but when going directly to this, part of an html file, it does not seem to interpret the code correctly.