Welcome Guest, Not a member yet? Register   Sign In
Using IF Within View - Good Practice? [SOLVED]
#1

[eluser]samdoidge[/eluser]
Simple question guys

Using If statements within a View class - is this best practice, or should I do the statements in the controller?

Thanks
Sam
#2

[eluser]CroNiX[/eluser]
[quote author="samdoidge" date="1263691170"]Simple question guys

Using If statements within a View class - is this best practice, or should I do the statements in the controller?

Thanks
Sam[/quote]
Its fine.
http://ellislab.com/codeigniter/user-gui...e_php.html
#3

[eluser]samdoidge[/eluser]
Ah source as well, thanks CroNiX




Theme © iAndrew 2016 - Forum software by © MyBB