FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Parameter passing question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Parameter passing question [message #173556 is a reply to message #173553] Mon, 18 April 2011 19:40 Go to previous messageGo to previous message
Unrest is currently offline  Unrest
Messages: 10
Registered: April 2011
Karma:
Junior Member
Am Mon, 18 Apr 2011 19:19:11 +0000 schrieb Denis McMahon:

> On Mon, 18 Apr 2011 19:07:46 +0000, Unrest wrote:
>
>> sidenote: isset evaluates to true only if the variable exists and is
>> not null.
>
> An empty string doesn't equate to null if you use the right comparison
> operator!
>
> ("" === null) returns false
>
> so, test if the variable is set, and if it is set, test for empty string
>
> Rgds
>
> Denis McMahon

SORRY ("big sorry"). Been a bit distracted when posting that.
You are, of course, right.

Michael
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: & - form and session problem!
Next Topic: doctype not found?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Apr 13 22:37:16 GMT 2025

Total time taken to generate the page: 0.15859 seconds