Welcome Guest, Not a member yet? Register   Sign In
Using <!--- ---> instead of <?php ?> in view files
#2

[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;?>?


Messages In This Thread
Using <!--- ---> instead of <?php ?> in view files - by El Forum - 09-29-2008, 10:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB