If I do not enter data on a form with
method="get"
, when I go to theaction="/minha-url.php"
page, if you did not enter data in the previous form, you will simply not see anything, instead of "Notice : Undefined index ", etc ...
Part where I submit the content of the GET:
<?php echo ($_GET["email"]) ; ?>
When I enter the email, it is: [email protected]
When I do not enter, it is: Notice: Undefined index: email in C: \ xampp \ htdocs \ teste.php on line 104
It's a simple question, but I did not get any solutions, I did not find anything on the internet that solved this problem.