I need do searching from longer string. In sql in locality is 'London' and i need use LIKE and string of more cities how in example.. This doesnt work. Please help me, thanks
$result = mysqli_query($con, "SELECT * FROM automoto WHERE (title LIKE '%$keyword%') AND locality LIKE '%London%Paris%' ");
OR:(title LIKE '%$keyword%') AND (locality LIKE '%London%' OR locality LIKE '%Paris%')