i have 2 tables in MySQL:
1)object -id -name
2) object_info -id -object_id -info -description -type
where each object have at 20 records on object_info:
How to realize tabular input???
on contoller
public function actionCreate() {
$object = new Object();
$object_info = new ObjectInfo();
if(isset($_POST['Ojbect'])) { //how to check POST?
}
$this->render('form', array('object'=>$object, 'object_info'=>$object_info);
}
on view how build form? ?