Welcome Guest, Not a member yet? Register   Sign In
Problems getting foreach loop to display data
#12

[eluser]douglasbrownca01[/eluser]
Yep, that gets me one result -- but as I read that -- it's just looking for the first item in the array object. I want to return a set of rows into a table. So is there a way to loop it in the view to bring back the full contents of the array?

I guess what i don't understand is why the original $fingerguard->item_code didn't work and just loop through the dataset like it did in the get_accessories function.


Messages In This Thread
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 05:28 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 06:19 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 06:27 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 06:49 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 07:05 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 07:29 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 07:39 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 07:53 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 08:03 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 08:16 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 08:28 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 08:28 AM
Problems getting foreach loop to display data - by El Forum - 01-08-2013, 08:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB