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

[eluser]Developer13[/eluser]
Gotcha...

You may not particularly be so worried about it, but keep in mind that the more you can do without having template parsers doing what natural PHP can do, the faster your script is going to be overall.

To me, this is a good enough reason to use <? pure_php_conditionals ?> in my views. I think there might be a template parser class for CI floating around out there that supports conditionals... but if I remember right, I tried it some time back and it didn't support nested conditionals.


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



Theme © iAndrew 2016 - Forum software by © MyBB