I have a input field that search's for keywords in my database. Say the title of a car listing is "Toyota surf 1990 SSR-X", I want to be able to search something like "Toyota 1990", how can I achieve this?. If I search "Toyota surf" or "surf 1990" it works.
$query = "SELECT * FROM cars WHERE title LIKE '%" . $search_keywords . "%'";