Hi
I am using notepad++ and I have tried easyphp and Wamp, when I run my code locally I can go to the login page, although it displays kind of funny with seemingly all my php code as text on the page. But when I try and run it from the web host i get the error:
Parse error: syntax error, unexpected end of file in /home/vhosts/45223998-debeerl.6te.net/login.php on line 67
my code looks like this:
Language: PHP
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Portfolio ICT2613 - 45223998</title>
</head>
<?php
// user check, connect and session start...
?>
<body>
<center>
<h1> Welcome to The Chess Club </h1>
<br>
<FORM NAME ="form1" METHOD ="POST" ACTION ="login.php">
Username: <INPUT TYPE = ';TEXT'; Name =';username'; value="<?php print $username?>" Maxlength="25">
<br>
<br>
Password: <INPUT TYPE = ';PASSWORD'; Name =';password'; value="<?php print $password?>" Maxlength="8">
<P align = center>
<br>
<INPUT TYPE = "Submit" Name = "Log" VALUE = "Login">
</P>
</FORM>
</body>
</html>
I have checked that all the start and end of all the html code is there... I just can't figure it out. I have looked at where a similar question was answered, but that was when the person used echo...
Thanks in advance