Mid-Year Resolutions

While I’ve never been a big one for making New Year’s Resolutions – and certainly not for keeping New Year’s Resolutions, here’s a new twist:

Considering until January 1, 2008, I’ll call this my Mid-Year Resolution: more posts, each with an observation, something I’ve learned, or something popular among the Brogue Craic crowd.

And what did I learn today? How to use PHP to insert a date counter that counts down to a certain date. Depending on when you look at this post, the number of days remaining in the paragraph above will automatically be correct. Bet I use this in a client site before the end of the year. “. floor($difference/60/60/24).” days from now!”; ?>

This entry was posted in Brogue Craic. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>