RE: [PHP] Why is this happening

From: Date: Tue, 17 Apr 2001 21:06:47 +0000
Subject: RE: [PHP] Why is this happening
Groups: php.general 
Request: Send a blank email to php-general+get-49056@lists.php.net to get a copy of this message
> >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

« previous php.general (#49056) next »