Re: verify problem

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

 




Are both first_nameIN AND last_nameIN longer than 0 chars?

var_dump($_POST['first_nameIN']);
var_dump($_POST['last_nameIN']);

maybe you only filled in first_name or last_name but not both.

Well,
echo $first_nameIN, " ", $last_nameIN;
Prints out the whole name - without the if clause; and I've tried
several variations of ifs - none work.
Maybe there is something I don't understand about 'first_nameIN' and
$first_nameIN
but $first_nameIN    = $_POST["first_nameIN"];
has been declared beforehand.

Same for $last_nameIN I assume.

What does var_dump of those 2 variables show? It should be something like

string(5) "12345"

--
Postgresql & php tutorials
http://www.designmagick.com/


--
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