This is the only way I could actually get field names using odbc_columns. Hope it will be usefull for someone.
$result = odbc_columns($odbc,$dbhost,"dbo", "KIR_ViolationDetail");
while (odbc_fetch_row($result))
{
echo odbc_result($result,"COLUMN_NAME");
}