Tag Archives: php

Todays WTF Moment with CodeIgniter, MySQL and PHP

As routine as an oddly-twitching finger sabotaging any attempt to use your mouse, strange things  may take place with your environment, tools, or code. Today I was working on setting up a very small project with CodeIgniter when I came … Continue reading

Posted in CodeIgniter, MySQL, PHP | Tagged , , , , , , , , | 1 Comment

A Shorter Ternary Operator in PHP 5.3

The ternary operator is simply awesome. It allows for some really beautiful if-else style variable assignments: $can_drink = ( $age <= 21 ) ? true : false ; This operator let’s you evaluate a condition, and return one of two … Continue reading

Posted in PHP | Tagged , , | 2 Comments

Quickly Adding Thumbnails to WordPress Archives

Post thumbnails make archives look much more attractive in my personal opinion, yet they are not natively displayed in the otherwise-beautiful theme shipped with the latest version of WordPress, Twenty Ten. As is the case with most WordPress stuff, this … Continue reading

Posted in Uncategorized, WordPress | Tagged , , , , | 2 Comments

Install and Setup of Kohana 3, The

Kohana is the wildly popular PHP Framework used by many developers all over. I’ve used it numerous times in the past on some rather different projects and found it to be pretty versatile and reliable over-all. One of my largest … Continue reading

Posted in Kohana, Uncategorized | Tagged , , , , , | 1 Comment