Okay, I kinda fixed it. I added the DISTINCT option to the sql query. DISTINCT returns only one row when multiples arre found. What I don't understand is that there is only one row returned in the MYSQL console.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php