Welcome Guest, Not a member yet? Register   Sign In
Help with query results and asset_helper
#4

[eluser]CroNiX[/eluser]
I'd just leave your view the way it is. Creating an additional loop to iterate over the exact same data is wasteful and inefficient. Instead of looping through the results in the controller, adding additional data, sending to your view and THEN looping over the same data (again)....just loop over it once in the view like you were....


Messages In This Thread
Help with query results and asset_helper - by El Forum - 02-25-2012, 04:09 PM
Help with query results and asset_helper - by El Forum - 02-27-2012, 12:17 AM
Help with query results and asset_helper - by El Forum - 02-27-2012, 10:57 AM
Help with query results and asset_helper - by El Forum - 02-27-2012, 12:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB