le 28/02/2005 à 14:34
authentification
lol si jle fait elle va me detester.
tu voit jai une requete qui me permet d' afficher dans une liste deroulante toutes mes villes moi jai mais un distinct pour quil n'y est pas de doublons selement sa marche pas.
select distinct entreprise.Ville,entreprise.Nom,entreprise.id,entreprise.Adresse,entreprise.CP,entreprise.Admin from entreprise,partage_id where partage_id.id_code=entreprise.CP
AND partage_id.id_user='$statut' AND entreprise.Ville LIKE '$lettre%' ORDER BY `id` ASC"
jai besoin des autre champs pour un premiers affichage.
si quelqu'un voit l' erreur, je serai contente de la connaitre.
merci
tu voit jai une requete qui me permet d' afficher dans une liste deroulante toutes mes villes moi jai mais un distinct pour quil n'y est pas de doublons selement sa marche pas.
select distinct entreprise.Ville,entreprise.Nom,entreprise.id,entreprise.Adresse,entreprise.CP,entreprise.Admin from entreprise,partage_id where partage_id.id_code=entreprise.CP
AND partage_id.id_user='$statut' AND entreprise.Ville LIKE '$lettre%' ORDER BY `id` ASC"
jai besoin des autre champs pour un premiers affichage.
si quelqu'un voit l' erreur, je serai contente de la connaitre.
merci