Re: Comparison Problems with 5.2.5

From: Date: Sun, 30 Dec 2007 16:04:23 +0000
Subject: Re: Comparison Problems with 5.2.5
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-266370@lists.php.net to get a copy of this message
Magnus Anderson wrote:
...snip... This will not work (I expect this to work since _USER['level'] is 5) if($_USER['level'] => 5)
Try if($_USER['level'] >= 5) maybe it helps ('=>' is used when assigning values in an hash, maybe you are triggering something strange...) -- Antinori and Partners - http://www.antinoriandpartners.com Soluzioni web - da professionisti

« previous php.general (#266370) next »