mysql_list_fields

PHP 4, PHP 5
mysql_list_fields - List MySQL table fields
Manual
Code Examples

Example #1 Alternate to deprecated mysql_list_fields

Result: Array ( [Field] => id [Type] => int(7) [Null] => [Key] => PRI [Default] => [Extra] => auto_increment ) Array ( [Field] => email [Type] => varchar(100) [Null] => [Key] => [Default] => [Extra] => )
PHP Version: