hai
i am getting this error when i run the script first time what to do to avoid this?
Notice: Undefined index: name in d:\programfiles\easyphp1-8\www\dhanavradhni\post3.php on line 3
Notice: Undefined index: password in d:\programfiles\easyphp1-8\www\dhanavradhni\post3.php on line 4
This is my script
<?php
$name=$POST["name"];
$password=$POST["password"];
echo $name ." ".$password;
?>
<html>
<body>
<FORM METHOD=POST ACTION="<?php $_SERVER['PHP_SELF'];?>">
<table border=0 bgcolor="pink" align="right" height="200" width="250" >
<tr><td>USER NAME:</td><td>
<INPUT TYPE="text" NAME="name"></td></tr>
<tr><td>PASSWORD:</td><td><INPUT TYPE="password" NAME="password"></td></tr>
<tr><td align="center"><INPUT TYPE="submit" value="Click"> </td></tr>
</table>
</FORM>
</body>
</html>
please help me..........
thanks
J.sivaani