Re: [PHP] Comparison Problems with 5.2.5
- From: sporc@xxxxxx (Silvio Porcellana)
- Date: Sun, 30 Dec 2007 17:04:23 +0100
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
.
- Follow-Ups:
- Re: [PHP] Comparison Problems with 5.2.5
- From: Casey
- Using PHP to remove certain number of bytes from file
- From: Scott Wilcox
- Re: [PHP] Comparison Problems with 5.2.5
- References:
- [PHP] Comparison Problems with 5.2.5
- From: Magnus Anderson
- [PHP] Comparison Problems with 5.2.5
- Prev by Date: [PHP] Comparison Problems with 5.2.5
- Next by Date: Using PHP to remove certain number of bytes from file
- Previous by thread: [PHP] Comparison Problems with 5.2.5
- Next by thread: Using PHP to remove certain number of bytes from file
- Index(es):