I have a table in which comma seprated id of another table i want to use the following query in cakephp in proper form with find function
\"select * from s
Use like this
$data = $this->SpecialOffer->find('all',array('conditions' => array('SpecialOffer.user_id' => $userId ,'FIND_IN_SET(\''. $storeId .'\',SpecialOffer.stores1)')));
Hope this may help you