I am not quite sure, but assuming that you have an Add action and an Edit action in your controller, then you can use:
$this->params['action'] to see which (Add or Edit) action has been invoked. If not, please show the code that you are trying to use. Please always reply to the group, not to me directly :) Enjoy, John On 2009/12/15 Tom <tomislav.vitenb...@gmail.com> wrote: This is my first app. I define activities table ( date, desctiption, time, auth ) I want to set in "Index" condition for pagination (date, auth), and if date or auth in "Add" .or. "Edit" change I want do chanage condition in "Index" to new values. I don't know how? Please help me with sample code! THANK YOU On Dec 15, 11:56 am, John Andersen <j.andersen...@gmail.com> wrote: > Can you explain what you are trying to do in CakePHP, maybe with some > code showing what you have done/tried? > Enjoy, > John > > On Dec 15, 10:54 am, Tom <tomislav.vitenb...@gmail.com> wrote: > > > I don't know how to pass value index -> edit -> index ->edit > > 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 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