For the benefit of the list... Marty and I corresponded off list to make sure his PHP wasn't at fault, it wasn't!
Turns out the problem was a corrupt table or index that 'optimize table <tablename>' fixed up. Cheers Dean -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]