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

2006-01-29 Thread Afan Pasalic
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]  
<[EMAIL PROTECTED]> wrote:



[EMAIL PROTECTED] 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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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

2006-01-29 Thread Silvio Porcellana [tradeOver]

[EMAIL PROTECTED] 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

--
tradeOver | http://www.tradeover.net
...ready to become the King of the World?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php