Re: [PHP-DB] retrieve enum values

2005-04-14 Thread Aman Patel
M_COLUMN ); eval( "\$the_array = array $value;" ); // let eval do all the parsing work. return $the_array; } - Aman Patel, Sys Admin / Database / Web Developer, International Outreach x4076 -Original Message- From: mel list_php [mailto:[EMAIL PROTECTED]

RE: [PHP-DB] retrieve enum values

2005-04-14 Thread Patel, Aman
l 14, 2005 7:54 AM > To: php-db@lists.php.net > Subject: [PHP-DB] retrieve enum values > > > Hi! > > I have a column type enum in mysql. > At the moment the possible values are 1,2 and 3. > > I make a form for my user to modify that value, something > like: 1 value=&

RE: [PHP-DB] retrieve enum values

2005-04-14 Thread Jason
mel list_php [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 5:54 AM To: php-db@lists.php.net Subject: [PHP-DB] retrieve enum values Hi! I have a column type enum in mysql. At the moment the possible values are 1,2 and 3. I make a form for my user to modify that value, something like:

[PHP-DB] retrieve enum values

2005-04-14 Thread mel list_php
Hi! I have a column type enum in mysql. At the moment the possible values are 1,2 and 3. I make a form for my user to modify that value, something like: 1 2 3 I may need to add a value 4 to the enum, and in that case I would like to avoid modifying the code. I would like to know it it is possib