<snip> SELECT * FROM sometable Just that :) (do I hear you slapping your forehead? :) Bruno Ferreira. </snip> Thanks for the answers guys. My problem was I am a mysql novice and there was a bunch of existing queries that use the "WHERE 1" syntax. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php