I have a table with names of movies, and I want to be able to search for a movie in that table. But I want to be able to search for part of the title, and still return a res
Have a look at the full text search capabilities of MySQL. Once you set up a full text index, you can do queries like this one:
SELECT * FROM movies WHERE MATCH(title) AGAINST ('quantum solace' IN BOOLEAN MODE)