Monday, 14th December 2009

Christmas Countdown was the first piece of php code I ever wrote, back then it was a function called daysToChristmas() and was 17 lines of code. This was actually way back on the 14th of December 2005 according to my comments in the source file.

After all these years I thought it’s time for a rewrite, I’ve learnt a lot more since then and seeing as it was originally an exercise to learn some basic php I thought why not have another crack at it now. I rewrote it last week and it was looking much better, today I thought why stop there so I have got rid of the old single image and replaced it with 7 new ones taken fresh today. All images are items from my Christmas tree :) Now you will get a Christmas image at random, and for good measure I’ve also thrown in a few more festive messages for certain days :)

Some of the image may clash with the text colour so I’ll keeping an eye on that and I’ll fixit.

Enjoy!

Tags: |
Sunday, 6th December 2009
IMG_2031
 
 
IMG_2032
 
 
IMG_2033
 
 

This is the coolest Christmas decoration ever!

Tags: