Re: $_POST['xxx'] = "blabla" ?
| From: | Gerhard Meier | Date: | Mon, 22 Nov 2004 20:51:38 +0000 |
| Subject: | Re: $_POST['xxx'] = "blabla" ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202696@lists.php.net to get a copy of this message | ||
On Mon, Nov 22, 2004 at 09:38:00PM +0100, Perry Jönsson wrote:
> 1. if ($_POST['submit'] == 'Login') { ... }
This one is true if $_POST['submit'] is equal to 'Login'.
> 2. if (isset($_POST['submit']) { ... }
This one is true if $_POST['submit'] is set, it doesn't matter
which value it has.
/GM