On Fri, Sep 21, 2012 at 10:32 AM, Kamal Palei wrote:
Thanks Nicolas Tried your suggestion. It worked. Thanks.
Nancy, I did not understand your comment "do not convert select query", can you kindly elaborate on it.
The only reason to use db_select() is in a case where you have conditional conditional parts. The double conditional was intended; meaning the ->condition() piece itself is conditional. Otherwise simple use db_query() to do the job.