Hi I'm trying to create a search box to search customer by last name and/or first name and/or phone number.
Here is my SQL Query:
SELECT *
FROM customer
WHERE Match(c_fname,c_lname,c_phone) Against('$keywords')
My questions is Why does it work when i search for bill and not if i search for bob?
Another question is how do i prioritize the fields(last name most important), so that if i search for John Smith and output is Will smith, Rob Smith, John Clinton, and John Smith, John Smith would be on very top.