I followed a tutorial on http://www.phpeasystep.com/workshopview.php?id=6 and I think it's not working properly for me. When I try to start the session in my sidebar thing it won't actually start somehow :S
<div id="sidebar">
<h2>[<a href="?page=home">Samppa's page</a>]</h2>
<h3> Main menu</h3>
<ul class="menu">
<li><a href="?page=about"> >> About</a></li>
<li><a href="?page=projects"> >> Projects</a></li>
<li><a href="?page=photos"> >> Photos</a></li>
<li><a href="?page=lab"> >> THE testing lab</a></li>
</ul>
<h3> Anything else</h3>
<ul class="menu">
<li>Email me!<a href="mailto:samppa.l@hotmail.com"><br /><img src="mail.png" width="210" height="210" /></a></li>
<li><br />Have a question?<a href=""><br /><br /><img src="question.png" width="210" height="210" /></a></li>
</ul>
<h3> Login</h3>
<ul class="menu">
<br />
<?
session_start();
echo $_SESSION['myusername'];
?>
<form name="form1" method="post" action="checklogin.php">
<li>Username: <input name="myusername" type="text" id="myusername" /></li>
<br />
<li>Password: <input name="mypassword" type="text" id="mypassword" />
<br />
<br />
<li><input type="submit" name="Submit" value="Login" /></li>
</ul>
</div>
It won't echo the username I don't understand why, and if I try with <?php and ?> instead of <? ?> I get an error, I am really noob in this please help, and also look the link I gave then you get idea.