i have this programme in php and i don't know why the output doesn't appear?

Moon

New member
<HTML>
<HEAD>
<TITLE>New Document</TITLE>
</HEAD>
<BODY>

<form action="simple.php" method="post">

<label>userName: <input type="text" name="username" /></label><br />
<label>password: <input type="text" name="password" /></label><br />
<input type="submit" value="SUBMIT" />
</form>
<?
$username=$_post[username];
$password=$_post[password];
if (($username=="dina")&&($password=="lion")) {
echo "ok you can acsess!";
}
else {
echo '<p> denied </p>';
}
?>
</BODY>
</HTML>
 
Back
Top