On Mon, 03 Aug 2009 20:11:44 +0300, "Parham Doustdar" <parha...@gmail.com> wrote:

Your if-statement should be like this:

[code]
if(isset($_REQUEST['firstname']) && !empty($_REQUEST['firstname'])) {
...
}
[/code]

Or even:

[code]
if(!empty($_REQUEST['firstname'])) {
 ...
}
[/code]

Because empty will also check if variable exists

--

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

Reply via email to