<html>
<head>
<title>
VALUES !@@!
</title>
<style type="text/css">
.error{color:red;}
</style>
</head>
<body>
<?php
$okay=true;
if(empty($_POST['name'])){
print'<p class="error">please enter ur name</p>';
$oaky=false;
}
if(empty($_POST['email'])){
print '<p class="error">please enter ur mail id</p>';
$okay=false;
}
if(empty($_POST['password'])){
print '<p class="error">please enter ur password</p>';
$okay=false;
}
if($_POST['password'] != $_POST['confirm password']){
print'<p class="error">your password does not match...</p>' ;
$okay=false;
}
if($okay){
print"done";
}
?>
</body>
</html>
this code is not working properly......when executed thiz code is giving unusual result....all the name of the variables taken here are exact and thr is no spelling mistake or any mistake in variables...pls help...




