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]
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=&
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:
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