I try to make a request to find rows which contains a specific String value.
Here is an extract of my code :
// Getting motscles value
$motscles = $_POST['motscles'];
// Prepare a second SQL request to get all annonces posted by the user
$result2=$connexion->prepare("select * from annonces where titre LIKE = '%".$motscles."%' ");
I have no result, and i think my request is bad ..