Announcement! Join the forum - sign up here and start posting!

Create PHP dates in the future

PHP 1 Comment »
The date 2 weeks from today will be: December 5, 2008

Here’s how to display a date in the future (say 2 weeks from today):

<?php
$future = mktime(0,0,0,date("m"),date("d")+14,date("Y"));
$mydate = date("F j, Y", $future);
echo $mydate;
?>

Make your PHP pretty

PHP, Tips, tricks & tools No Comments »

Another nice little PHP tool is PHPFormatter, where you can paste in your messy PHP and it will format it to several preset styles (including PEAR). This is really a great tool for those of us that write really messy code, and then can’t work it out a few days later.

Post PHP code in Wordpress

PHP, Tips, tricks & tools 1 Comment »

I found a great website that will transform PHP into html for pasting into Wordpress, forums, or anywhere. It’s here.

WP Theme & Icons by N.Design Studio
RSS (non commercial use only!) | Contact