Jay Blanchard wrote:
[snip]
What is the difference between these two examples?
Both works fine for me.
1. if ($_POST['submit'] == 'Login') {
...
...
}
2. if (isset($_POST['submit']) {
...
...
}
[/snip]
One is checking if $_POST contains a specific value, the other j
Gerhard Meier wrote:
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 i
Hello,
What is the difference between these two examples?
Both works fine for me.
1. if ($_POST['submit'] == 'Login') {
...
...
}
2. if (isset($_POST['submit']) {
...
...
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Jon-Eirik Pettersen wrote:
Perry Jönsson wrote:
Hello,
Does it make any difference if you include
(include/require/include_once/require_once) files with extension
".inc" or ".php"?
No, it does not.
What it the purpose of the ".inc" file then?
/Perry
--
Hello,
Does it make any difference if you include
(include/require/include_once/require_once) files with extension ".inc"
or ".php"?
Best regards,
Perry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
5 matches
Mail list logo