[eluser]stuckinphp[/eluser]
[quote author="oneos" date="1306465300"]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;
[/quote]
Code:
foreach ($query->result_array() as $row){
foreach ($row as $column=>$value){
echo "$column: $value";
}
}
Might be less confusing for him?