Resolving MySQL allowed values of Enum field

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Resolving MySQL allowed values of Enum field

Post by Shendemiar »

I quickly readed the mysql functions through, and i didnt find any specific funtion for this. Is it possible and if, how?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

you will need to parse the info from DESCRIBE `table` statement
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

Weirdan wrote:you will need to parse the info from DESCRIBE `table` statement
Thanks!
Post Reply