Thanks for reply, But when i redirect with passing variable it gets array, I know it is much appropriate if function is called by action but i dont know how to return the variable to view.
WebbedIT wrote: > > > Your redirect loads a new request without passing through the $numval > variable. > > I wouldn't expect that you need to be using a redirect within the > getCount() function. I assume this function is likely to be called > from an action and therefore should simply return the variable or use > set() to send it to the view before returning to the action which > called it. > > > > -- View this message in context: http://www.nabble.com/Custom-Query-Result-tp21216264p21216465.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
