Welcome Guest, Not a member yet? Register   Sign In
foreach need?
#2

[eluser]richzilla[/eluser]
if in you're model, you're returning a
Code:
result()
value, then yes you do. If you're returning a
Code:
row()
value, then you don't. A solution would be to count the results at the model end, and return either a result() or row() depending on the outcome.


Messages In This Thread
foreach need? - by El Forum - 02-08-2010, 09:22 AM
foreach need? - by El Forum - 02-08-2010, 09:25 AM
foreach need? - by El Forum - 02-08-2010, 09:31 AM
foreach need? - by El Forum - 02-08-2010, 09:39 AM
foreach need? - by El Forum - 02-08-2010, 08:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB