In this tutorial, you’ll learn a quick way to determine what the most popular tags are in a series of tagged entries.
Author: Jason Lengstorf
This week, I wanted to share some of my recent experiments with MySQL queries in regard to lowering the number of requests sent to the database server and, hopefully, avoiding the bottleneck that can form on sites that rely heavily on database interaction.
The goal of our exercise today is to build a menu, complete with sub-menu, all based off one function that runs recursively on an array.
This quick tip shows an easy trick to simplify the job of looping through an array in which something different happens to the first element.