This is probably considered a really silly question, but I\'m in the process of putting together a simple template system for a website and am trying to keep track of my var
In my opinion the cleanest way to set it up is in array like this:
$tpl = array ( 'title' => 'my title', 'desc' => 'my text' );
You can combine it with Zane's answer also.
All the best!