Re: $_POST['xxx'] = "blabla" ?

From: Date: Mon, 22 Nov 2004 20:37:46 +0000
Subject: Re: $_POST['xxx'] = "blabla" ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202692@lists.php.net to get a copy of this message
in case $_POST['submit'] == 'Yes' only 2nd example works. Right? -a|fan Perry Jönsson wrote:
Hello, What is the difference between these two examples? Both works fine for me. 1. if ($_POST['submit'] == 'Login') {
    ...
    ...
} 2. if (isset($_POST['submit']) {
    ...
    ...
}


« previous php.general (#202692) next »