I want to do an instant search for my website using jquery php and mysql.
Previously i used to take the text from .searchbox
on keyup
and send request to php via ajax.
PHP
$query="Select from names where concat(fname," ",lname) Like '$search%' "
this would work fine. But i heard Fulltext is tons time faster than LIKE. But its happens to work only if someone writes a full name . Therefore fails to autocomplete searches. I wonder whether is there any alternative to my above code which is way much faster using fulltext or any other means.