Re: Comparison Problems with 5.2.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux