Storing Multiple Items In One MySQL Field

/ Misc / by Paul Robinson / 4 Comments

A little while ago I posted about storing more than one piece of information in a MySQL table field. This can help with storing arrays of data that do not need to be included in a relationship. Anyway the trick here is to first place the information you want to store in your MySQL table into an array, so let’s […]

Read more

Using PHP Sessions To Store Information

/ PHP / by Paul Robinson / 0 comments

Something that most people starting out learning PHP ask is how do you store information temporary? Well the answer to the that is by using PHP sessions. So here is a quick overview of how to use sessions in PHP. Sessions are, in a nutshell, a way of temporary storing information in the browser’s memory while a user is browsing […]

Read more

Storing IP Address Data In A MySQL Database

/ Misc / by Paul Robinson / 6 Comments

Today we are going to take a look at one of the most efficient ways to store IP addresses in a MySQL database. You may think that you would store an IP address as a VARCHAR(15) field and you could, but this is not the most efficient way to store IPs. Instead you could use an INT. Please remember though […]

Read more

Starting Out With Codeigniter Part 1

/ Misc / by Paul Robinson / 5 Comments

I have recently started using Codeigniter, and found it to be an incredibly powerful framework. Some people argue that lazy people use frameworks, but personally I think it stops you from having to re-invent the wheel everytime you start a new project. Getting Codeigniter The only place I advise you get Codeigniter from is the official Codeigniter website. Also while […]

Read more

Using jQuery To Make The Classic Typewriter Effect

/ jQuery / by Paul Robinson / 10 Comments

Ok, so it’s an old effect that has been done in javascript probably a million times, but I’ve seen it used on a few sites quite effectively. By typewriter effect I mean the sentence types itself onto the screen rather than just appearing. It’s really simple to do so let’s get going. If you want to follow along you’ll need […]

Read more

Using WordPress’ Shortcode System

/ Wordpress / by Paul Robinson / 3 Comments

Today I’m going to show you how to write your own shortcode plugin for WordPress. The shortcode system can be extremely powerful & for developers they are great for allowing clients to insert complicated pieces of HTML into posts without worrying about it being overly complicated. Now as usual you need to start your plugin with the following:

You […]

Read more

I'll keep your WordPress site up-to-date and working to its best.

Find out more