> Does anyone know a function to give me the mySql field types? 
>  I saw the function mysql_field_type, but that returns php types not 
> mysql.  What I wanna do is if the type of the field is "Text" then I 
> wanna make a "textarea" to edit and add stuff.  Thanks.

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.

Chris

Reply via email to