RE: [PHP] field types

From: Date: Tue, 23 Jan 2001 20:27:40 +0000
Subject: RE: [PHP] field types
Groups: php.general 
Request: Send a blank email to php-general+get-36255@lists.php.net to get a copy of this message
> 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

« previous php.general (#36255) next »