I have used the syntaxes that the manual says I can but I get an error on line 41 from an if statement using one of the manual's syntaxes. I have put numbers on the lines for easier reading. Here is my code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<meta name="Description" content="Stiguy.Com - Virtual StiRace! Join up for free games and more!">
<meta name="Keywords" content="pets, pet, games, game, virtual, fun, prizes, play, virtual pet, kids">
<title>Log-In</title>
</head>
<body bgcolor="#00000"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="23%" valign="top">
<OBJECT classid="clsid😃27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" ID="ToolBar" WIDTH="150" HEIGHT="300">
<PARAM NAME="movie" VALUE="http://www.stiguy.com/toolbar.swf">
<PARAM NAME="quality" VALUE=high>
<PARAM NAME="bgcolor" VALUE=#FFFFFF>
<EMBED src="http://www.stiguy.com/toolbar.swf" quality=high bgcolor=#FFFFFF WIDTH=150 HEIGHT=300 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
<p><b><font color="#FFFFFF" face="Verdana" size="1">
<a href="http://Stiguy.com/ideas.phtml">Ideas</a></font></b></td>
<td width="77%" align="left" valign="top">
<font size="7" color = "white">Log-In
Please Log-In to use the site.</font>
<?php
/25/if ($user != "")
/26/{
/27/ $file = fopen("/usr/home/freehost/26817/usernames/".$user.".txt","r");
/28/ $passwordcheck = fread ($file,8);
/29/ $line2 = fread ($file,8);
/30/ $line3 = fread ($file,8);
/31/ fclose ($file);
/32/ if ($passwordcheck==$password){
/33//session_register("loggedin");/
/34/setcookie("log","in");
/35/}
/36/else
/37/{?>
<br><font size="6" color ="white"> <?
/39/if ($password=="") {
/40/print "</font><font size='6' color='black'>"
/41/}else{?>
<br>Your username/password combination is incorrect.</font>
<br>
<form action='http://fahhem.t35.com/signin.php' method='POST'>
<table align=center width=78 cellpadding=4 cellspacing=0>
<input type='hidden' name='logsent' value='sent'><tr>
<td width="78"><font color="#FFFFFF"><b>Username</b></font></td>
<td width="92">
<input type='text' name='user' size=12 maxlength=20 onFocus='this.select()'></td></tr><tr>
<td width="78"><font color="#FFFFFF"><b>Password</b></font></td>
<td width="92"><input type='password' name='password' size=12 maxlength=20></td></tr><tr>
<td align=center colspan=2 bgcolor='#000000' width="178">
<input type='submit' value='Log In'></td></tr></table></form>
<?php }
/56/ }
/57/}
/58/
/59/else
/60/{
?>
<Br>
<br><font size="6" color ="white"> Your username/password combination is incorrect.</font>
<br>
<form action='http://fahhem.t35.com/signin.php' method='post'>
<table align=center width=78 cellpadding=4 cellspacing=0>
<input type='hidden' name='destination' value='<? echo $destination; ?>'>
<input type='hidden' name='logsent' value='sent'><tr>
<td width="78"><font color="#FFFFFF"><b>Username</b></font></td>
<td width="92">
<input type='text' name='user' size=12 maxlength=20 onFocus='this.select()'></td></tr><tr>
<td width="78"><font color="#FFFFFF"><b>Password</b></font></td>
<td width="92"><input type='password' name='password' size=12 maxlength=20></td></tr><tr>
<td align=center colspan=2 bgcolor='#000000' width="178">
<input type='submit' value='Log In'></td></tr></table></form>
<?php
/77/}
/78/?>
</body>
Thanks in advance!