03-14-2007, 03:54 PM
JackoliciousLegs Wrote:white_2kgt Wrote:funny thing is, I went back and looked at some code that I wrote that does this, and I do it all on 1 line w/ no ternary operator, here it is,you are obviously not using the MVC pattern. My view doesn't have access to the result set.
len( $results )
sure I am, and I'm doing a better job at it than YOU. You shouldn't be computing this stuff in your View, compute everything you need in the controller and give it to your view to display.
What are you using anyway?
