why is this SIMPLE elseif not firing?
| From: | Govinda | Date: | Wed, 15 Jul 2009 22:51:00 +0000 |
| Subject: | why is this SIMPLE elseif not firing? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-295443@lists.php.net to get a copy of this message | ||
Sorry this is isn't good 'ninja' material.. but I gotta start where I am.
this:
echo 'is set (EditExistingClient) ='. isset($EditExistingClient)."<br /
\n"; is returning:is set (EditExistingClient) =1<br /> but this, later down the page: elseif ((isset($EditExistingClient)) || ($CreateClient)) //we just created a client, OR edited a client { echo '<input name="EditExistingClient" type="submit" value="Edit This Client">'."\n"; } is not firing unless $CreateClient is set. This, too, is not firing when I think it should: elseif (($EditExistingClient) || ($CreateClient)) //we just created a client, OR edited a client { echo '<input name="EditExistingClient" type="submit" value="Edit This Client">'."\n"; } what ridiculously simple thing am I missing? ------------ Govinda govinda.webdnatalk@gmail.com