Hi all,

This is a bit wierd so don't flame please.

Imagine a database table, field defined as ENUM with a list of allowed types
such as
"Mr", "Mrs", "Miss", "Dr", "Prof", etc - you get the idea.

I've read the MySQL manual and by using

SHOW COLUMNS FROM "table_name" LIKE "enum_column_name";

I can get a result.

But the string of ENUMs is not an array. It is returned as a string with all
types in one string.

Anyone got any ideas about how to retrieve it in a better way - else I'll
need to start exploding the string...

Thanks in advance

Al

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

Reply via email to