till now what i've made is a searches controller. this controller is ment to search either a user or an entity in the database. the first line of my index action is function index($searchby = 'entity') this funct works fine if i have to search for an entity, but when i search for a user it shows me nothin ///ly when i change the funct index to function index($searchby = 'user') i can search users from db but not content. i consider it to be a problem in routing, but i can change the url from the view part easily. the problem which i am facing is that when i enter something in the searchbar the url changes to: http://localhost/searches/index?search=linkin
and the url which i want to work on is: /searches/index/entity and /searches/index/user can any one help me out with it pls --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---