hi to all
i m going to performing a search functionality in which i hv face a
sily problem
in my view file i hv taken a multiple checkbox select as below

<?php echo $form->input('  doesnt metter',array
('id'=>'1','type'=>'checkbox','multiple'=>'checkbox','value'=>'doesnt
matter')); ?>
<?php echo $form->input('  Very Fair',array
('id'=>'2','type'=>'checkbox','multiple'=>'checkbox','value'=>'merried')); ?
>

now in my search_controller how can i use the values selected by user
in each check box. how can i store it in db. i have to select multiple
checkboxes. i hv wrote this code for that.

'UserProfile.marital_status'=>array($this->data['searches'][''])

explain me perfect idea for that..

thanks,
Maulik00


--~--~---------~--~----~------------~-------~--~----~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to