Use "SELECT DISTINCT" in your SQL syntax. -- Miguel J. Jiménez Programador Senior Área de Internet/XSL/PHP migueljose.jimenez@xxxxxxxxxxx ---------------------------------------------------- ISOTROL Edificio BLUENET, Avda. Isaac Newton nº3, 4ª planta. Parque Tecnológico Cartuja '93, 41092 Sevilla. Teléfono: 955 036 800 - Fax: 955 036 849 http://www.isotrol.com "You let a political fight come between you and your best friend you have in all the world. Do you realize how foolish that is? How ominous? How can this country survive if friends can't rise above the quarrel". Constance Hazard, North & South (book I)
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php