Hey, im trying to make a PHP Login box for a program that i am making for my A Level project
however, im new with PHP so dont really know much about the code :( lol.
this is what i have so far
<html>
<body>
<?php
$username = "Admin";
$password = "Password";
if ($username=!$password; )
{
print "The Username or Password is incorrect";
}
elseif ($username=$password; )
{
(i want it to go to a webpage if the username and password match)
}
?>
<p align="left"><font face="Arial" size="5"><b>Login</b></font></p>
<table border="0" width="29%" id="table2">
<tr>
<td><b><font face="Arial" size="4">Username:</font></b></td>
<td width="148"><input type="text" name="Username" size="20"></td>
</tr>
<tr>
<td><b><font face="Arial" size="4">Password:</font></b></td>
<td width="148"><input type="password" name="Password" size="20"></td>
</tr>
</table>
</body>
</html>
im not sure if this is correct or not.
if there is somebody that can help can you please email me.
[email snipped]
or, post here.
thanks alot
Sean