Latest Posts



"The BBC news app is slightly premature with the Australian Grand Prix being ‘Live’ it’s next weekend... @BBCSport…"

@ashleyford 3 days ago

"RT @sarahmcgbeauty: A drag queen dressed as Elsa just single-handedly freed a stuck police wagon from a blizzard in the middle of March. If…"

@ashleyford 6 days ago

Web design and development tutorials, scripts and downloads designed for beginners right through to advanced developers


Show Google Plus’s – PHP function

Following on from yesterdays function to get likes and share data for a URL here’s a function to get Google Plus’s for any URL. The Code It’s worth pointing out you must have CURL enabled on your web server, I believe it’s enabled by default on PHP5 setups. Also the Key below Isn’t a unique API key you must leave [...]


6 Useful PHP code snippets

Here’s a selection of really useful PHP code snippets that I find using on a weekly basis. You could use these as is or expand them as part of other applications or add them to a php class. Adjust server time If you have a server in a different timezone to you then you might be seeing funny things happen when you add the time to a MySQL [...]


Creating Automatic MySQL Database backups

Every database needs to be backed up and if you’re currently doing it manually you can stop because there’s a simple solution using PHP for small scale sites. With this script you can either pass a specific table to backup or choose to backup the whole database. How to implement The best way to use the script below is to copy the [...]


jQuery UI Slider

I’ve been hugely inspired recently by the design work of Orman Clark from and his generous selection of top quality PSD downloads. after seeing this beautiful design of a button and slider set I was eager to code up a working version using jQuery UI. You can grab the PSD for the design here along with tons of awesome [...]


Build a jQuery content feature like MailChimp

I was scouring the internet for inspiration the other day and revisiting some interesting sites and noticed that MailChimp had changed their homepage integrating a slick full page slider. After a little investigation I noticed that they were using the jQuery Cycle plugin which allows you to rotate, paginate or cycle a set of images. I’ve [...]


easypoll a side project

I was sat in the sun at the weekend and sporadically decided to do a little project like wedeliver you can read about the adventure I had building the 24hr project here. This project on the other hand probably took about 24hrs to complete but I built it over a few days. It’s basically a site where you can create a simple 2 answer poll, [...]


Using jQuery Arrays

I was recently in a situation where I needed to count a number of list items and pass the values to a form, I got around this problem by using JavaScript arrays, looping through the list items and picking up one of the attributes. I’ve created a demo page to show an example of this here. Lets run through the code. We start with our dom [...]


Simple CSS Navigation

Navigation is a key feature on any site and for a front end web designer or developer there’s nothing more important than creating the perfect navigation menu. Today I’m going to run through how to create a pure CSS navigation strip using basic HTML and CSS. This will give you a basic understanding of how to put together a CSS [...]