PHP Advent 2009

I had no idea something like this existed but what a great idea. 24 days of worth of PHP articles to keep the Christmas Blues away. Today’s article is something very close to my heart and discusses the topic of Comprehensible Code. Go, read, expand your minds….

PHP.js

This is something I came across a while ago, but it has really come in handy. It is a project that attempts to make many php functions available in javascript. As most php developers will at some point have to write some javascript, it is a very handy library. You can find it over at… Continue reading PHP.js

Last day of the month

Here’s one line of code to get the last day of a month: $last_day = date(‘t’, mktime(0, 0, 1, $month_variable, 1, $year_variable)); How much more difficult do you want it to be ???

Delving deeper into the PHP lake…testing if a variable exists in a list

As a PHP developer of almost four years now, I often still come across little problems in coding that make me do the good ol Google search to find the answer. (someday I will have memorised the entire PHP manual, but today is not that day ;-). Anyway today I was asked about how to… Continue reading Delving deeper into the PHP lake…testing if a variable exists in a list