(PHP 3>= 3.0.6, PHP 4 >= 4.0.0)
odbc_field_len() will return the length of the field referecend by number in the given ODBC result identifier. Field numbering starts at 1.
See also: odbc_field_scale() to get the scale of a floating point number.