Re: verify problem

From: Date: Thu, 05 Mar 2009 23:36:57 +0000
Subject: Re: verify problem
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-289421@lists.php.net to get a copy of this message
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/

« previous php.general (#289421) next »