note 87451 deleted from function.mysql-field-flags by danbrown
| From: | danbrown@php.net | Date: | Fri, 05 Dec 2008 15:44:43 +0000 |
| Subject: | note 87451 deleted from function.mysql-field-flags by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147716@lists.php.net to get a copy of this message | ||
Note Submitter: michael_a_green at tochka dot ru
Reason: bad code
----
I found simply way for extraction from ENUM list:
$tmp = str_replace ("enum('","",$field['Type']);
$tmp = explode ("','",$tmp);
print_r($tmp);