I am using the following code.
<?php
session_start();
if (!$_SESSION['email_address'])
{
echo "<b>You do not have the appropriate permissions to post new class notes.</b><br><br><br>";
}
if (!$first_name)
{
echo "Please login below!<br>";
include 'tlogin.php';
}
if(!$username)
{
echo "Please Login below!<br>";
include "tlogin.php';
}
?>
<html>
<head><title>Add Notes</title></head>
<body>
<form name=form2 method=post action=postn.php>
<table width=100% border=0 cellpadding=4 cellspacing=0>
<tr>
<td width=24% align=left valign=top>Username:</td><?php echo $_SESSION['username']; ?>
<tr>
<td align=left valign=top>Date notes given:</td>
<td><input name=date type=text id=date></td>
</tr>
<tr>
<td align=left valign=top>Class Notes where:</td>
<td><textarea name=info id=info></textarea></td> </tr>
<tr>
<td align=left valign=top> </td>
<td><input type=submit name=Submit value=Post the Notes></td>
</tr>
</table>
</form>
</body>
</html>
when I run it i get the error message
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mooecow/public_html/scn/postnotes.php on line 33
So what is wrong. And this is all before I submit.