Welcome Guest, Not a member yet? Register   Sign In
How to fetch multy records
#5

[eluser]CroNiX[/eluser]
You already are fetching more than 1 record. Just after you echo out your title/description in that loop, you return $row, which is only a single result created while looping over your result set.

Try returning the whole result set instead.
Code:
return $query->result_array();


Messages In This Thread
How to fetch multy records - by El Forum - 08-17-2012, 11:51 AM
How to fetch multy records - by El Forum - 08-17-2012, 01:42 PM
How to fetch multy records - by El Forum - 08-17-2012, 02:05 PM
How to fetch multy records - by El Forum - 08-17-2012, 02:14 PM
How to fetch multy records - by El Forum - 08-17-2012, 02:51 PM
How to fetch multy records - by El Forum - 08-17-2012, 03:02 PM
How to fetch multy records - by El Forum - 08-17-2012, 03:06 PM
How to fetch multy records - by El Forum - 08-17-2012, 03:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB