Govinda wrote:
> Sorry this is isn't good 'ninja' material.. but I gotta start where I am.
>
> this:
>
> echo 'is set (EditExistingClient) ='. isset($EditExistingClient)."<br
> />\n";
I realize this is after the fact, but...
The above does not indicate WHAT it is set too. Just that it is set.
it could be set to /null/, FALSE, or 0 and they would all return false,
and fail, in your if condition later on.
> 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
> [email protected]
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php