CodeIgniter Forums
function recursiva!.... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: function recursiva!.... (/thread-50998.html)



function recursiva!.... - El Forum - 04-16-2012

[eluser]01munrra[/eluser]
hello!!!...

I tell them, have any idea how to make a recursive function with IC??


function recursiva!.... - El Forum - 04-16-2012

[eluser]InsiteFX[/eluser]
Recursive function to generate a parent/child tree



function recursiva!.... - El Forum - 04-16-2012

[eluser]01munrra[/eluser]
yes, but at the level of codeigniter? you have?


function recursiva!.... - El Forum - 04-16-2012

[eluser]skunkbad[/eluser]
Do you want to learn how to make a recursive function in a class? There's really no difference between a recursive function in CI vs procedural programming, with the exception that you can hold values in class members. If you are just looking for a tutorial on how to make a basic recursive function, then you should try Google.


function recursiva!.... - El Forum - 04-17-2012

[eluser]Reneesh T K[/eluser]
We can see a sample recursive function for getting childs of a category in

http://myphplibrary.blogspot.in/2011/07/listing-subcategories-or-chilld.html