<?php defined('SYSPATH') OR die('No direct access allowed.');
class Controller_Main extends Controller_Template {
public $template = 'index';
public function action_index(){
$data = array ("name" => "вася", "age"=>"24", "rost"=>"189");
$this->template->content = View::factory('news');
}
}
<?PHP
foreach ($comment AS $key => $value) {
echo $value. ' - ';
}
?>