Saturday, March 24, 2007
PHP Update
I just added my first PHP functionality to the site and it couldn't have been easier.
Previously I had to hand code my right side bar with what I was watching and reading. The problem was I had to do this with every page, and that was time consuming. So I ended up not updating it nearly as much as I should (you'll notice I was watching Red Beard for two months...it's a long movie...just not that long).
I knew there had to be an easier way, and 'PHP include' came to my rescue. Think of it like a code cut & paste for your website. Now all my pages pull in the chunk of HTML code that makes up my sidebar and all I have to do is change one bit of code to update my entire site.
Sweet.
Labels: PHP
Links



