Wooo! Well I'll be moving house on Tues 12th Feb, right before my birthday too!
Not that there have been lots of posts recently, but just so you know that there won't be many over the next week or so.
I recently saw an image demonstrating What Beautiful HTML Looks Like. I've decided to do my own What Beautiful PHP and AJAX Looks Like image. You can also play with the actual application that this image demonstrates if you so wish!
The Source
This example makes use of the Prototype JavaScript library. I'm using this, as it […]
Have you seen those websites such as Digg and SVP that use fancy URLs such as http://domain.com/page_content? Yeah, sure this could be nearly achieved by simply renaming your pages to something like page_content.htm - but that would result in you having to change every page on your site to a suitably written filename, as well […]
Ok, so how do you load a .php file into your web browser, and what does it do when you type (for example) http://www.edrackham.com/index.php then hit enter?
The web browser requests the document with the .php extension from the edrackham.com server.
The webserver kicks in and says "Hey! Someone wants a PHP file. Something else needs to […]
This is a simple snippet of code that will return an array of days between two dates.
Read on for a little more info…
Ok, so how do you format dates in PHP so it outputs the date format you want? Well thanks to PHP’s date() and strtotime() function, we can do all that! To kick off, lets take the most common date format ‘YYYY-MM-DD HH:II:SS‘. This date format seems to be most favoured as it increments in such […]