When building e-commerce solutions for UK websites, sooner or later you’ll need to tackle the issue of VAT. This simple function gives you a solution to adding VAT onto individual item costs.
When building e-commerce solutions for UK websites, sooner or later you’ll need to tackle the issue of VAT. This simple function gives you a solution to adding VAT onto individual item costs.
Need to quickly convert Hexidecimal colour values to RGB, or indeed, vice versa? The function in this post does all the work for you!
A wee function for handling user-entered website addresses, and making them consistent for database storage.
If you ever require the facility to check that a user has a file on their server, such as their configuration file, or some copyright text, this little PHP function makes the job of checking it exists a snap!
A quick and simple function to automatically update your copyright text so that it’s always correct at the bottom of your pages.
Ever needed to censor strings on your site, by removing hyperlinks, e-mail addresses and telephone numbers? This little PHP function should do the trick!
Ever wanted to throw up a greeting to your website visitors based on the time on day? Here’s an easy PHP function that does the trick.
Part one of a multi-part series looking at making forms more accessible/usuable for ALL users, not just those with impairments. This post looks at how you can make it obvious which of a series of radio buttons has been selected.