Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question$k1 = 'autre' ; $k2 = 'idée' ; $k3 = 'correct' ; $q = "SELECT * FROM matable WHERE ( txtsms LIKE '%$k1%' OR txtsms LIKE '%$k2%' OR txtsms LIKE '%$k3%'" ; $res = $db->query( $s ) ;
$q = "SELECT * FROM matable WHERE ( lotcle = '$k1' OR motcle = '$k2' OR motcle = '$k3' ) OR ( msg LIKE '%$k1%' OR msg LIKE '%$k2%' OR msg LIKE '%$k3%' )" ;
ça ne marche pas