Hey, I am trying to create a search using check boxes that are created from what is in the database. The table I want to search against is fabrics and it has a hasAndBelongsToMany.
Currently I have the search set up at http://pervasivemarketing.com/wesco/www/fabric/fabricsearch and create the checkboxes like <?php echo $html->checkbox('Type/id');? >, <?php echo $html->checkbox('Vertical/id');?>, etc... In the controller I already have $cond = array('fabric_todelete'=>'! =1','fabric_isactive'=>'=1'); I need to know how do I set up the controller to grab the checked boxes and check against the appropriate tables. Thanks,. Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
