<?php require_once 'config/TemplateEngine.php'; require_once 'config/ViewRenderer.php'; require_once 'config/View.php'; // Array values $data = array('name' => 'Vincent Nacar', 'sex' => 'Male'); // render data to test.html View::Render('template/test.html', $data); // Multi dimensional array values $users = array(array("name" => "Vince", "sex" => "Male"), array("name" => "Portia", "sex" => "Female")); // render list to userlist.html template View::RenderList('template/userlist.html', $users);