Oct 27, 2016 | I.T.
When you’re working directly on a Linux server it’s sometimes helpful to be able to find all files that end in a certain way (e.g. everything that ends with .old). Fortunately Linux provides the solution in the form of the find command.An example might be...
May 30, 2016 | I.T.
One of the most powerful features in WordPress is also one of the most feared – hooks. This article explains what they are and gives you two examples of how you might use them to customise your WordPress-based website. When you redecorate a room you might go...
May 25, 2016 | I.T.
In WordPress, shortcodes are special codes in square braces that are auto-magically replaced with pre-defined content. For example, I could place [kitten] in my post content and it could be replaced with a picture of a kitten. This short article explains how you...
May 21, 2016 | I.T.
[toc]In my last article I explained how to format a date in MySQL using a built-in function that can be used during a database query. In this article I’m going to leave databases and talk about how to do the same thing in PHP. The timestamp Before you can format...
May 12, 2016 | I.T.
[toc]This tutorial explains how to format a MySQL date field to suit your needs without using PHP or any other post-processing.For example, you can output your dates in a long format such as Monday, 12th May 2016 or as a short date format – 17/Dec/86. MySQL...