PHP Function to Convert LineBreaks to NewLines
While PHP has a very nice little function (nl2br) to convert newlines (\n) to line breaks (<br>), moving in the opposite direction is not quite so easy. This function should hopefully help to...
View ArticleSecondary WordPress Loops
In coding WordPress plugins and themes, I have often found it necessary to create secondary WordPress loops in the code to show a list of articles or posts on the site that wouldn’t normally appear on...
View ArticlePaginated Navigation Bar
One area of web programming that many of us have frequently run into is the need to show a long list of items (whether database results or whatever) in a nicely formatted, easily navigable way....
View ArticleBuilding an Array Object Class
Having spent several years now working with the excellent Laravel platform, one of the features I tend to miss the most on non-Laravel projects is the Collection class. Sometimes I end up building my...
View Article
More Pages to Explore .....