Show all errors on a WordPress site
Say you want to display all errors on a WordPress website. Open the config.php file and add the below code. define(‘WP_DEBUG’, true);define(‘WP_DEBUG_LOG’, […]
Say you want to display all errors on a WordPress website. Open the config.php file and add the below code. define(‘WP_DEBUG’, true);define(‘WP_DEBUG_LOG’, […]
The minimium required Jquery setup should be inlcuded in the head of the HTML document and includes a link to the Jquery […]
I just found out about this really cool feature available in Google Ads which allows you to add a countdown timer to […]
Say you have a SQL database table which has some type of repeating items, like suburbs in a table of contacts, or […]
I had a project which required to insert a batch of mySQL database rows in one go with PHP. I firstly wrote the […]
In this post I’ll show you some code that will extract data from the Google Analytics Reporting API which is included on […]
In this example we will use the Google Analytics Reporting API and PHP to extract some basic website performance metrics such as […]
So you want to add subscribers to a Campaign Monitor list from your custom PHP script. Good news is there is a […]
I recently returned from a great trip through Ireland, England and France. All previous times I have travelled to Europe it has […]
I was looking for a free / public API in which I could query a currency conversion rate just once per day, […]
I recently needed to setup the Paypal express checkout (which is a lightbox style pop-up that can be integrated into any web […]
Ah the Video Ads (AKA Youtube Video Ads) Exam for Adwords Certification. Going through the requirements for this one was very interesting […]
Another Adwords Certification exam done and dusted, this time it was the Adwords Shopping Ads. Like last time, here are my study […]
I recently took, and passed, the Google Adwords Display Advertising certification exam. I though I would publish all my quick study notes […]
So a potential customer searching for your product (let’s say you sell ‘Digital Cameras’ for this example) will be much more likely to […]
Now, I am not sure where I originally found this script, or if it is the most efficient way to generate a password […]
So, you need to make requests to and from the Harvest API in your PHP website or application. Here is a relatively […]
The .htaccess file is a very powerful tool on your cpanel or apache based hosting and acts as a configuration file for […]
I recently needed to add some error reporting onto a custom PHP script I had created. I looked at a few options including using a […]
A collection of some the simplest SQL examples that I always forget. Order by Random Want to return your result in a […]
PHP has a a great many options for formatting and manipulating dates. I always find myself going back and forth to find […]
I had the situation a few years back where we were running a custom developed job system (PHP with mySQL) and wanted […]
Here is some PHP functions and code to return a particular users time entries for a date range from the Harvest API. […]
Here is a quick set of codes that can be easily added to your HTACCESS file to give your website an extra layer […]
It’s a Google best practice to only have a single version of your site available to the public and to their index. […]
So, say you have a contact list of 2000 odd full names (first and last name together) provided to you in an […]
A very common way hackers can break into your website database is via targeting outdated PHP code and unsecured get variables, especially when […]