So it seems to me that you know what your search form should contain - now, what have you done in order to code it? Please show your current version of the search view! That way we may better be able to point you in the right direction :) Enjoy, John
On Apr 28, 8:35 am, viis <[email protected]> wrote: > How to write a search form with Cakephp , selecting results from > database > > so that one can select certain fields and if none of the fields have > been selected then all results from the database are selected: > > SEARCH FORM fields: > > 1) Select location: dropdown ( 1. all 2. New York 3. London ) > > 2) Type: dropdown ( 1. all, 2. blue, 3. yellow, 4. green ) > > 3) Select min and max price : min ( textarea insert minimum price > number - default value - 0 ) to ( textarea insert max price number ) > > 4) Show results with images: checkbox ( check if search results > should include results with images or not ) > > 5) Sort by: dropdown ( 1. none 2. price desc 3. price asc 4. > location 5. latest added ) > > 6) Search ( search text link ) > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with > their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" 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 > athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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
