I have gotten into the habit of using isset for every $_POST variable,
checking that it is set before I even check to see if it contains
anything. For example:
if (isset($_POST['password']) && $_POST['password'] != "")
Is this something I need to do?
Would I get "undefined" errors if I just did this instead?
if ($_POST['password'] != "")
Bill H
checking that it is set before I even check to see if it contains
anything. For example:
if (isset($_POST['password']) && $_POST['password'] != "")
Is this something I need to do?
Would I get "undefined" errors if I just did this instead?
if ($_POST['password'] != "")
Bill H
Comment