help |
[eluser]flash_lover[/eluser]
Has anyone tried this tutorial http://codeigniter.com/wiki/MVC/ I keep getting 404 error. //function Welcome() (php4, php5 below) function __construct() { parent::Controller(); $this->load->helper('url'); } function index() { $this->load->model('links'); $links['links'] = $this->links->get_links(); $data = array( 'title' => 'Test Application', 'current_page' => 'Welcome', 'navigation' => $this->load->view('navigation/nav_main','',true), 'content' => $this->load->view('content/link_list',$links,true) ); $this->load->view('layout/main',$data); } Any ideals Thanks
[eluser]InsiteFX[/eluser]
You will not get much help displaying your code like that! Use POST REPLY and code tags not FAST REPLY. InsiteFX
[eluser]Mischievous[/eluser]
Code: function __construct()
[eluser]InsiteFX[/eluser]
Code: Change this: InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |