I want to search my DB using the string:

if ($search_title){$newsql=$newsql . " AND books.title = '" . $search_title ."'";}

but I need to use wildcards somehow to allow the user to enter the initial part of the book title if they don't know the full title.

How do I do it and how do I order the results by relevance/matching to the original. I'm already going to order the results alphabetically.