la requete me retourne bien mes adresse mail sous phpmyadmin.
$dest = Post::val('list_dest');
me retourne une liste de contacts selectionner dans ma page web.
Avec les doubles quotes je n'ai plus d'eereur de compil mais d'execution
Query {SELECT Adrmail FROM ( SELECT Nomcontsit AS Nom, Prenomcontsit AS Prenom, Adrmailcontsit AS Adrmail FROM `flyspray_contacts_ext` UNION ALL SELECT Nomcont AS Nom, Prenomcont AS Prenom, Adrmailcont AS Adrmail FROM `flyspray_contacts_int` ) WHERE BROCHARD William LIKE CONCAT('%', Nom, ' ', Prenom,'%')} with params {} Failed! (Every derived table must have its own alias)
Partager