UNDEFINED INDEX Error message
by Rekha[ Edit ] 2010-03-26 19:00:20
UNDEFINED INDEX Error message
"Undefined index" means the variable you are trying to use doesn't exist.
So always use isset function to check whether the variable you are using is set or not.
if(isset($_POST['password'])
$pass=$_POST["password"];