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 #173553 is a reply to message #173551] Mon, 18 April 2011 19:19 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
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
[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: Fri Nov 22 12:03:45 GMT 2024

Total time taken to generate the page: 0.04311 seconds