How to extract the 40 from char(40) - what PHP mysql function can be used? In addition, what function would even provide the 'char(40)'-type output?

What I mean is, what PHP mysql function will provide info regarding the size that was declared when the table structure was formed? It seems that the 'mysql_fetch_field()' only provides the 'max length' for the DATA contained in the table. I want the field size specified in the table's STRUCTURE.

Please help!

Thanks in advance.