RE: [PHP] Print array items only once

2001-05-09 Thread Nicolas Guilhot
You can try to modify your SQL query and add the DISTINCT statement !! It will return each distinct row only once. example SELECT DISTINCT cat_id, cat_name FROM categories Regards, Nicolas -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 9 mai

Re: [PHP] Print array items only once

2001-05-09 Thread sean
Thanks very much Nicholas, Sean. Nicolas Guilhot [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You can try to modify your SQL query and add the DISTINCT statement !! It will return each distinct row only once. example SELECT DISTINCT cat_id, cat_name FROM