chapter31

development in a land far far away…

at the moment

History is not what happened. History is what was written down.

Archive for March, 2008

Using cfimport is a great way to add custom tag functionality to your applications.
One thing you need to do of course is add a <cfimport> tag to every template where you want to use the cfimport syntax. However, a couple of times when I’ve been creating new templates I’ve forgotten this rule and not [...]

Read the rest of this entry »

Today I had a situation where I wanted to convert a boolean value (true or false) to a numeric equivalent (1 or 0) for insertion into a database table field which had a “tinyint” data type.
The value was coming from a form checkbox, so the actual element may or may not exist in the form [...]

Read the rest of this entry »