Hello,
quite often it happens to me that i have to add fields to DB after i created the model and crud in Yii and made many changes to forms, actions and whatever.
I have no problem adding fields to forms, labels to the models eventually add the fields to views and so…
the only thing i can’t understand is why doesn’t
<?
$model->attributes=$_POST['ModelName'];
?>
get the attributes? should i add something more then rules and labels to the model?
Sorry if the question is stupid and thanks for helping me out!