Hi,
I'm learning PHP and prepared a simple login form. validate.php does
the validation and it was behaving erratically. So, I did var_dump of
$_POST variable and it's NULL. Did I miss anything here regarding the
configuration or code? Code for validate.php is given below.
<?php
var_dump($_POST );
$user=$_POST['login'];
$password=$_POS T['password'];
// .... Rest of the validation ...
?>
Any kind of help would be highly beneficial.
I'm learning PHP and prepared a simple login form. validate.php does
the validation and it was behaving erratically. So, I did var_dump of
$_POST variable and it's NULL. Did I miss anything here regarding the
configuration or code? Code for validate.php is given below.
<?php
var_dump($_POST );
$user=$_POST['login'];
$password=$_POS T['password'];
// .... Rest of the validation ...
?>
Any kind of help would be highly beneficial.
Comment