the result is of a finder query. as follows class SearchesController extends AppController { var $name = 'Searches'; var $layout = 'home'; var $uses = array('User','Entity'); var $conditions = array(); function index() { $q = $this->data; $conditions = array(" MATCH(Entity.title,Entity.description) AGAINST ('$q' IN BOOLEAN MODE) "); $this->set('results',$this->Entity- >findall($conditions)); $this->log('results'); } }
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---