Whenever I have to output a numbered list of data I usually run the following code to achieve the required result.
$counter = 0;
// for loop that does all the required code
// end for
but I have discovered a lovely little function that does all this for me.
now I simply call
and it automatically outputs the next numeric.
Great! Simple and easy to use…..that’s the way to code.