it's there a way to receive a column info comment or to hope in a future "improvement"? mi tgry to make automatic form like:
switch ($detalii["type"])
{
case "varchar":
$form->addField("text", $column, ucfirst($column) , false, null);
break;
case "date":
$form->addField("text", $column, ucfirst($column) , false, null);
break;
case "text":
$form->addField("textarea", $column, ucfirst($column) , false, null, "cols='40' rows='7'");
break;
}
and because enum become varchar and other datatype changes i want to note in comment about what field to html.
[titlu] => Array
(
[type] => varchar
[max_length] => 100
[not_null] => {true}
[placeholder] => %s
[default] => {null}
[valid_values] => {null}
[max_value] => {null}
[min_value] => {null}
[decimal_places] => {null}
[auto_increment] => {false}
)
so a comment = "" will be useful for me.