I have a table in which a comma is bound to the id of another table. I want to use the following query in cakephp in the correct form using find function
"select * from special_offers where find_in_set('".$storeId."', stores) and user_id = '". $userId ."'";
source
share