Forum Moderators: coopster
<?
if ($_GET["state"]=="choose") {
echo "
<head> <title>What Have You Lost? </title> </head>
<body> <font size=5 color=red> What Have You Lost? </font>
<br> <br> <br>
<table align=center bgcolor=blue> <tr> <td>
<font size=3>Choose: </font>
<br><br>
<form action=?state=username>
<input type=submit value=Your Username>
</form>
<form action=?state=password>
<input type=submit value=Your Password>
</form>
<form action=?state=email>
<input type=submit value=Your Email Address>
</form>
</td>
</tr>
</table>
</body>";
} if ($_GET["state"]=="username") {
echo="<head> <title> Wait A Sec! </title> </head>
<body> Wait A Sec. </body> ";
}
?>
This is the error it brings up:
Parse error: parse error, expecting `','' or `';'' in /data/members/free/tripod/uk/c/m/a/cmatcmextrasignup/htdocs/view_info/index.php on line 24
} if ($_GET["state"]=="username") {
echo="<head> <title> Wait A Sec! </title> </head>
<body> Wait A Sec. </body> ";
}
} if ($_GET["state"]=="username") {
echo "<head> <title> Wait A Sec! </title> </head>
<body> Wait A Sec. </body> ";
}
There is also a good thread in out PHP Forum Library [webmasterworld.com] called PHP Troubleshooting [webmasterworld.com] that you may want to browse at some point. You'll find some good tips in there!