Alternativly i found you can always do it like this using the foreach() loop...
$types = @ifx_fieldtypes($resultid);
if (isset($types))
{
foreach($types as $field_name => $data_type)
{
echo "{$field_name} {$data_type}";
}
}