$this->Tag->findAll( array('nombre' => 'LIKE
%'.strtolower($tag).'%') );

On Jan 3, 12:51 pm, stefano <[EMAIL PROTECTED]> wrote:
> i think that i found a bug en find('All'.....
>
> i have this source
>
> echo $tag;
> $res = $this->Tag->find('All',array('conditions' => array('nombre' =>
> "%".strtolower($tag)))."%");
>
> and i get this error
>
> musica
>
> Query: SELECT `Tag`.`Array%` FROM `tags` AS `Tag` WHERE All LIMIT 1
>
> any idea ?
> how can help me is a bug or my mistake ?
>
> thanks :D
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to