Bonjour a tous,
je tourne en rond avec LIKE et n'arive pas a résoudre une erreur.
erreur : Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ')'
code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 $offremotclef = $connexion -> prepare("SELECT id_offre, id_magasin, poste, departement FROM offres WHERE valide=1 AND experience LIKE :recherche AND departement=".$_GET['dept']." "); $offremotclef -> execute(array(":recherche" -> "%".$_GET['poste']."%"));
Partager