Hello.
Since i changed my error reporting level to error_reporting(E_ALL | E_STRICT);
I am facing this error. I can obviate from this error using isset()
but the code looks so ugly!
So my question is: What if I go back to my normal settings of error reporting? does it really matter to know that something is not already defined? because it woks properly without the Notice error.
Because i have +10 inputs and i get them like that:
$username = $_POST['username'];
I also tried to pre-define the variables using this in the top on the file.
$username = null;
and $username = 0;
but they don't work.
Thanks.