Re: [PHP] why is this SIMPLE elseif not firing?

2009-07-15 Thread Stuart
Oops, clearly too early in the morning to be looking at code. Sorry. -Stuart 2009/7/16 Stuart : > 2009/7/15 Govinda : >> Sorry this is isn't good 'ninja' material..  but I gotta start where I am. >> >> this: >> >> echo 'is set (EditExistingClient) ='. isset($EditExistingClient)."\n"; >> is return

Re: [PHP] why is this SIMPLE elseif not firing?

2009-07-15 Thread Stuart
2009/7/15 Govinda : > Sorry this is isn't good 'ninja' material..  but I gotta start where I am. > > this: > > echo 'is set (EditExistingClient) ='. isset($EditExistingClient)."\n"; > is returning: > is set (EditExistingClient) =1 > > but this, later down the page: > elseif ((isset($EditExistingCli

Re: [PHP] why is this SIMPLE elseif not firing?

2009-07-15 Thread Govinda
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. I understand. I appreciate your taking the time to explain things.

Re: [PHP] why is this SIMPLE elseif not firing?

2009-07-15 Thread Jim Lucas
Govinda wrote: > Sorry this is isn't good 'ninja' material.. but I gotta start where I am. > > this: > > echo 'is set (EditExistingClient) ='. isset($EditExistingClient)." />\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

[PHP] why is this SIMPLE elseif not firing?

2009-07-15 Thread Govinda
Sorry this is isn't good 'ninja' material.. but I gotta start where I am. this: echo 'is set (EditExistingClient) ='. isset($EditExistingClient).">\n"; is returning: is set (EditExistingClient) =1 but this, later down the page: elseif ((isset($EditExistingClient)) || ($CreateClient)) //we j