Welcome Guest, Not a member yet? Register   Sign In
Looping DB result() array
#3

[eluser]oneos[/eluser]
Also unclear, but if you mean to say 'column' instead of 'row', this might be what you're looking for?

Code:
foreach ($query->result_array() as $row)
    foreach ($row as $column)
        echo $column;


Messages In This Thread
Looping DB result() array - by El Forum - 05-26-2011, 06:22 AM
Looping DB result() array - by El Forum - 05-26-2011, 10:27 AM
Looping DB result() array - by El Forum - 05-26-2011, 04:01 PM
Looping DB result() array - by El Forum - 05-26-2011, 08:33 PM
Looping DB result() array - by El Forum - 05-26-2011, 10:19 PM
Looping DB result() array - by El Forum - 07-18-2011, 09:07 AM
Looping DB result() array - by El Forum - 07-18-2011, 05:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB