displaying mysql enum values in php

ashearas

New Member
Hi friends what is the best way to show the mysql enum values while inserting and updating php page ?\[code\]name ENUM('small', 'medium', 'large')\[/code\]edited:actually I was asking for this . I have a database field\[code\] `color` enum('red','blue','green','white') DEFAULT NULL,\[/code\]and php form\[code\]<label for="color">Colors</label><br /><input type="text" name="color" />\[/code\]How do i display enum value on the php form from mysql database? Please help
 
Back
Top