Hello Marek, Wednesday, July 6, 2005, 3:15:58 PM, you wrote: MK> You can select just the id, and provided that the query returns just MK> zero or one row, you can spare one function call. Sure that will work fine - but I fail to see how it will save a function call. You either select, check there was no mysql error and then check numrows. Or you select count, check there was no mysql error and check the count value. I fail to see how your method provides on less function call, but please elaborate :) (and hey, select count = less bytes transferred from MySQL to PHP, regardless ;) Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I do not fear computers. I fear the lack of them." - Isaac Asimov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php