De La Coleen d'Urok

Results of the advanced Search in the pedigree database of Alaskan Malamutes

Erreur SQL !
SELECT id,nom,affixe,DATE_FORMAT(date_naissance, '%d-%m-%Y') as date_naissance,titre,sexe FROM genealogie where id like '%%' and photo !='' ;and type pedigree
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and type pedigree' at line 1