Adding like condition to db_select for section of string What I am trying to do is find all of the basic pages where their titles contain 'Meetings' for example January Meetings

Here is what I have tried so far 

$string = 'Meetings'; 
    $query = db_select('node', 'n');
    $query-&gt;fields('n');
    $query-&gt;condition('n.type', 'page', '=');
    $query-&gt;condition('n.changed', $time, '&lt;=');
    $query-&gt;condition('n.status', 1, '=');
    $query-&gt;condition('n.title', '%'.db_like($string), 'LIKE');
    $result = $query-&gt;execute();


Which hasnt worked as it is trying to find pages that only contain 'Meetings' in their title.
as it is trying to find pages that only contain 'Meetings' in their title.


Not quite - it's trying to find titles that end with the string "Meetings".

For a full wildcard match, the percent needs to be at both ends:

$query-&gt;condition('n.title', '%' . db_like($string) . '%', 'LIKE');