Using <!--- ---> instead of <?php ?> in view files |
[eluser]Developer13[/eluser]
You say you don't want to use Smarty, so I assume that means you don't want to use CodeIgniter's built in Template Parser, which allows you to use your {vars} in curly braces. If my assumption is correct, then I'd say you *cannot* do this... unless you want to develop your own template parser, which if you did, why not just use one that's already out there? I always find myself asking "why" in my posts, but why would you want to use <!--=var --> instead of <?=$var;?>? |
Welcome Guest, Not a member yet? Register Sign In |