> If you have phpMySql, take a look at the file:
> /mysqladmin/tbl_properties.php
> That code is doing something to return the type of the field. It's a
> little hard to follow so I don't know exactly how he's doing it and
> unfortunately, didn't have the time to decipher. :p However, I'm
> sure if you sat down with it for a while, you'd figure out how he
> did it.
Never mind, I see how he did it. He runs the following query:
"SELECT FIELDS FROM $tableName"
Where '$tableName' is your table (obviously) and he parses the result
to get all the information.
HTH
Chris