The Cutting Edge Tech Blog


Calculating age from Date of birth by FSherratt

Calculating age from Date of Birth

This has baffled me for years but a couple of nights ago I finally cracked it. How to accurately work out someones Age from their DOB. For this tutorial I’m using the english method of presenting dates DD-MM-YYYY rather than the american way.

It actually rather simple by comparing the date of birth to the current date you can not only work out their age but also whether it’s their birthday or not.

Continue reading



Creating a basic blog using php and mysql Part 3 by FSherratt

Creating a basic blog using php and mysql Part 3

View part 1 here

View part 2 here

Creating the create.php page

In the last tutorial we created a dynamic page to display our blog entries but we couldn’t test to see if it was working or not as we didn’t have any entries, so in this part we’re going to build a form so we can submit our entries.

Continue reading