> >Ok, I found out what the problem was. I'm still curious > >why the problem is occuring. > >> if( $tmpArray[errorNumber] & $typesToDisplay ) { > you're using the bitwise & when you want the logical && No, I actually wanted to use the bitwise &. I wanted to see if the "errorNumber" was in $typesToDisplay. Chris
- [PHP] Why is this happening Boget, Chris
- RE: [PHP] Why is this happening Boget, Chris
- RE: [PHP] Why is this happening Mark Maggelet
- Re: [PHP] Why is this happening Justin Farnsworth
- [PHP] Compiling Truetype fonts barce
- Re: [PHP] Compiling Truetype fonts Tom Rogers
- RE: [PHP] Why is this happening Boget, Chris
- RE: [PHP] Why is this happening Mark Maggelet
- RE: [PHP] Why is this happening Boget, Chris
- RE: [PHP] Why is this happening Martin Towell