MYSQL query wildcard, LIKE

trying to accept a string and check the database for similar but this isn’t working:

$data = mysql_query("SELECT * FROM entries WHERE entryName LIKE '%$title')"
or die(mysql_error());

is this enough or do i need more?