Hello Again,
I'm trying to open two pfbc form from database as shown below:
$pages = $db->get_results("SELECT id, title, page FROM Pages WHERE id_Faculty = 1 ORDER BY `order`");
foreach ( $pages as $page ) {
$attributes = $values = [];
$values['page'] = $page->page;
$values['id'] = $page->id;
$attributes['action'] = BASE_URL . "frontpage/pageUpdate/$user->id";
$attributes['view'] = "Vertical";
Form::open ("pageUpdate", $values, $attributes);
Form::Hidden("id", "id");
Form::Hidden("panel", "pane3");
Form::TinyMCE("Sayfa", "page");
Form::close(false);
echo '<hr />';
}
But only one of them seems to be correct. Another is only showing core html of page as shown below: