Welcome Guest, Not a member yet? Register   Sign In
array result
#3

[eluser]toopay[/eluser]
I've just noticed that $row variable contains multi-dimensional array, so to get your stuff done, its should be...
Code:
foreach($query->result_array() as $row)
{
  $xml_data[] = array_values($row);
}


Messages In This Thread
array result - by El Forum - 04-08-2011, 04:39 PM
array result - by El Forum - 04-09-2011, 06:29 AM
array result - by El Forum - 04-09-2011, 07:38 AM
array result - by El Forum - 04-09-2011, 09:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB