/ Published in: PHP

Returns an array of values specified for an enumerated MySQL field
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function enum($table, $field) { if($result["Type"]) { foreach($getEnumSet as $enumFieldValue) { if($enumFieldValue) { $enumFields[] = $enumFieldValue; } } return $enumFields; } return false; }
Comments
