Take a look at http://book.cakephp.org/view/809/find-count
On May 24, 3:30 am, fain182 <fain...@gmail.com> wrote: > hello, > i have a table 'posts' like: > id, author, subtitle, text, other fields.. > > i want to make a search with some select(one for author, one for > subtitle, ecc.), what is the best way? it's possible to use distinct > in combination with find('list',..) ? > > thank you > -- > pietro --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---