title: codeigniter template parsing with parameters
body: <p>I am working on a php CMS project based on "codeigniter" php framework. This is a general question though. I want one of my "view" to include some dynamic content off the database containing some php code. One option is inserting the php code in the database and then using eval() to run it, as only an admin should be able to edit the database (i know it is definitely not secure) other option is to use a template parser, since iam not going for the first one for obvious reasons (unless someone really convinces me to), i would like to know a few things</p>
  
  <p>1- Template parsing class in codeigniter (or any other framework) is designed to replace hardcoded template data 
  say {title} will be replaced by .&lt; title >. blah .&lt; / title >. (ignore the dots)  </p>
  
  <p>so is it possible to pass parameters along with it say </p>
  
  <p>{f}blah,blah1{/f} => .&lt; form method="blah" action="blah1" >. or 
  {bu}blah{/bu} => base_url(blah);</p>
  
  <p>2- Should/can this be done without using the template class at all, as template parsing will require more cpu cycles than a native php code.</p>