I am trying to understand the difference between this:
if (isset($_POST[\'Submit\'])) { //do something }
and
if ($_POST[
In your 2nd example, PHP will issue a notice (on E_NOTICE or stricter) if that key is not set for $_POST.
E_NOTICE
$_POST
Also see this question on Stack Overflow.