marked as duplicate by Yusef Mohamadi, Pierre.Vriens 7Users with the 7 badge can single-handedly close 7 questions as duplicates and reopen them as needed.Oct 4 '16 at 10:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

There seems to be a typo with the quotes in your condition. Did you mean the following? $resultArr = db_select('adbanner', 'n') ->fields('n') ->condition('LOWER(n.blog_title)', $page, '=') ->execute() ->fetchAll();
– dinopmiOct 4 '16 at 7:18