Simple PHP increment function

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 $counter++; // end for but I have discovered a lovely little function that does all this for...

My first published article.

Something of a first for me. I recently started playing around with the CakePHP framework again. I have had some (little) experience with it in the past and with the launch of two CakePHP books I decided it was high time I learned how to use this awesome framework...