[Solved] What can I do to get this function to output?
[ad_1] What do I need to do to get output from this function? Just call the function: function recursion($a) { if ($a < 20) { echo “$a”; recursion($a + 1); } } recursion(1); // <— here Defining a function only defines it, not execute it. To execute a function you have to call it. [ad_2] … Read more