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