Thanks for that. I understand. Somehow, I had tried OR at one point but I got one of those orange boxes probably for some other error and in the confusion of my neurons I overlooked it. However, I am puzzled that using & (not &&) did give a lot of results, almost the whole db which is thankfully not very big for testing purposes.
&& means "and". "&" is a bitwise operation. These pages explain it much better than I can. http://dev.mysql.com/doc/refman/5.0/en/bit-functions.html http://au.php.net/manual/en/language.operators.bitwise.php -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php