Hi all,
I do need to select some records from a table by such condition (for
instance):

WHERE `Elilib`.`nazev` LIKE CONVERT( _utf8 '%74%' USING ASCII )

Using

$cond=array("Elilib.nazev"=> "LIKE CONVERT( _utf8 "."'".$this-
>data['Elilib']['nazev']."' USING ASCII)");

I am getting in a model

SELECT `Elilib`.`id`, `Elilib`.`nazev`, `Elilib`.`pouzdro`,
`Elilib`.`sirka`, `Elilib`.`vyska`, `Elilib`.`knihovna` FROM `elilibs`
AS `Elilib` WHERE `Elilib`.`nazev` LIKE ' CONVERT( _utf8 \'%74%\'
USING ASCII)'

It's wrong and I don't get any data. Is it a bug in cakephp or I a am
doing something wrong?

Regards

Igor

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to