Asiteaday - asiteaday.org

General Information:

Latest News:

MySQLi wrapper for mysql_result() 24 Aug 2013 | 04:48 pm

If you’ve moved from MySQL to MySQL in PHP, you may be wondering where the MySQLi counterpart of mysql_result is. There isn’t one but instead you can used this simple function. It uses the same parame...

Calculate VAT with PHP 9 Aug 2013 | 08:28 pm

If you’re programming an eCommerce site, sooner or later you’ll need to calculate VAT. Although it doesn’t change very often, this function allows you to set the VAT to anything you like. The $isVATIn...

Only allow arbitrary characters in a string using PHP 24 Jun 2013 | 12:33 pm

Cleaning up strings is important in any dynamic web application. I was surprised to find there is no in-built way to only allow arbitrary characters in a string using PHP. Using the function below, cr...

How to report a problem with your website 18 Jun 2013 | 01:53 pm

Even the best of websites suffer problems from time-to-time. Thankfully, if you’ve chosen a decent quality web designer any significant problems will be unearthed during the testing phase. However, wh...

Generate a country drop down using PHP 15 May 2013 | 05:47 pm

The most time consuming part of creating a country drop down is the data. Here you can find the data for all countries—including their codes (ISO 3166-1 alpha-2)—in a PHP array. That way you can outpu...

Get plain text intro from HTML using PHP 3 May 2013 | 03:38 pm

So you have HTML stored in your database. How do you create a plain text introduction from it? Here’s how. This tutorial assumes you are using the UTF-8 charset function getplaintextintrofromhtml($htm...

JQuery: What’s the difference between height, innerHeight and outerHeight? 4 Apr 2013 | 11:45 am

I was surprised to find there is no simple online comparison giving an overview of the difference between JQuery’s height, innerHeight and outerHeight. It’s really quite simple and is down to whether ...

Can you upload video to your website? 1 Mar 2013 | 07:08 pm

This blog may appear overly technical and long-winded but I can assure you it isn’t. Read right through to the end and I promise you you’ll be wiser for it. Some years ago it seemed that YouTube was t...

Simple JQuery Sliding FAQs 27 Feb 2013 | 04:24 pm

This is a really, really simple JQuery script to allow you to have sliding FAQs on your website. This is a great approach if you have loads of content on the page as the visitor only views one answer ...

JQuery Vertical Align Function 18 Feb 2013 | 07:20 pm

Getting content to align vertically can be a problem in HTML (without using tables). Here’s a nice method that uses JQuery; all you need to do is add a class name to your element and the script does t...

Recently parsed news:

Recent searches: