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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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']) {
    ...
    ...
}


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux