[snip] ...lots of stuff...
[/snip] What I forgot to say is that basically you were testing for query execution, not the number of rows returned from the database. If you want to test the number of rows or some other result from the query you have to go further. HTH! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php