You still need the like..
$q->andWhere("c.col like ?", "%$search%");The percents are wildcards and will match other characters on either side of the search term. On Nov 5, 2010 6:50 PM, "xpanshun" <[email protected]> wrote: I tried it like this, $q = Doctrine_Query::create() ->from('Product p') ->where('p.product_id = ?', $search_term) ->orWhe... But it still didn't work...is my syntax incorrect? On Nov 5, 6:33 pm, Alex Pilon <[email protected]> wrote: > I mean for the LIKE clause.. so what... > On Fri, Nov 5, 2010 at 18:31, xpanshun <[email protected]> wrote: > > Isn't that for when you wan... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-projec... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
