Re: How can I get ENUM values from column info?

From: Date: Sun, 29 Jan 2006 22:06:21 +0000
Subject: Re: How can I get ENUM values from column info?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-229435@lists.php.net to get a copy of this message
I saw that one. Actually, I'm using right now the code below the one you mentiones (from Peter Rekdal). but was thinking that there is kind of pre-defines php function, smething like mysql_field_name(), or mysql_field_len(), or mysql_field_flags(). That's why I posted my question on this group. :) Thanks Silvio. -afan On Sun, 29 Jan 2006 15:50:07 -0600, Silvio Porcellana [tradeOver] <silvio.porcellana@tradeover.net> wrote:
afan@afan.net wrote:
If I have columns type ENUM('live', 'hidden', 'pending'), $flags will show ONLY 'enum'. How can I get all ENUM values? Thanks for any help or direction. -afan
This doesn't really seem a PHP question... BUT... give a look here: http://dev.mysql.com/doc/refman/5.0/en/enum.html There is one user comment ('Posted by J. Santiago Scarfo on March 31 2005 7:16pm') that I think can help you. Silvio
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

« previous php.general (#229435) next »