Welcome Guest, Not a member yet? Register   Sign In
View file not displaying
#1

[eluser][email protected][/eluser]
Hi i am using hmvc to practice but it does not displaying

This is my controller

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Dashboard extends MX_Controller
{

function __construct() {
parent::__construct();
Modules::run('site_security/make_sure_is_admin');
}

function home(){

$data['view_file'] = "home";
$this->load->module('template');
$this->template->admin($data);

}


}

This is a view file folder

<h2>Dashboard</h2>

<p>Please choose from the following options</p>
<ul>
&lt;?php
echo anchor('webpages/manage', '<li 20px;">Content Management System</li>');
echo anchor('', '<li 20px;">Update Top Navigation</li>');
echo anchor('', '<li 20px;">Sign Out</li>');
?&gt;
</ul>





Theme © iAndrew 2016 - Forum software by © MyBB