[eluser]auximage[/eluser]
Code:
function list_fields()
{
$field_names = array();
for ($i = 0; $i < $this->num_fields(); $i++)
{
$field_names[] = odbc_field_name($this->result_id, $i);
}
return $field_names;
}
Correct me if I'm wrong here, but odbc_field_name starts at 1 not 0. This is throwing an error for me in CI 2.0.
EDIT: Let me clarify perhaps. This method is located in system/database/drivers/odbc/odbc_result.php