I know the SELECT DISTINCT function. But I need to delete duplications from the finished resultset. Is that in any way possible? The result-set is not like an usual array, is it? I've tried the unique_array function, but it didn't work. André Sannerholt -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php