This? As in $this->recfunction...


On Jun 16, 1:56 pm, lakers fan <lakersfa...@msn.com> wrote:
> Hello,
>
>      I want to write a recursive function in my users controller which will 
> be called from the url.
>
> http://localhost/cake/users/recfunction/param1/param2
>
> This recfunction will call itself if needed..
>
> function recfunction(param1, param2)
>
> {
>
>      if(condition == true)
>
>    {
>
>         recfunction(param1, param2); //get error in this line recfunction not 
> defined.
>
>    }
>
> }
>
> any ideas?
>
> Thanks,
>
> Bharani
>
> _________________________________________________________________
> Lauren found her dream laptop. Find the PC that’s right for 
> you.http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to