09-05-2009, 06:38 AM
[eluser]pistolPete[/eluser]
Try this:
But why do you need to iterate over the results at all? Why don't you just use this:
Try this:
Code:
if($query_results->num_rows() >0)
{
$row=$query_results->result_array();
foreach ($row as $val)
{
$charges[] = $val['property_id'];
}
return $charges;
}
But why do you need to iterate over the results at all? Why don't you just use this:
Code:
return $query_results->result_array();