ralphschindler wrote
> 
> Hey Roman,
> 
> On 5/18/12 12:26 PM, cmple wrote:
>> bump
> 
>> *->where("artist.name LIKE '%Brit%");*
> 
> In this particular code, you have a rouge single quote in there:
> 
> try:
> 
> ->where("artist.name LIKE '%Brit%'");
> 
>                              here ^
> 
> 
> -ralph
> 
> -- 
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
> 
Yes, sorry it's just a typo in the post, when tested I had both single
quotes in there:

->where("artist.name LIKE '%Brit%'");




--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Db-Sql-Select-WHERE-name-LIKE-cmp-breaks-the-query-tp4631367p4648423.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to