Today is the final day of support for PHP4. Luckily I have been using PHP5 for quite a long time and have been happy with it. I do not think I use all of the features that would make it a nasty upgrade, like some people do.
I try my hardest to keep all [...]
Have you ever wanted to know what the date was last year on this day?
Example: You want to compare sales from Wednesday of this year to the same Wednesday of last year. There is a very simple solution in PHP.
[code]function ThisDateLastYear($date_in) { // date_in = input date in form of [...]