Return to Snippet

Revision: 23440
at February 8, 2010 00:10 by mattstopa


Initial Code
<?php
class Blog extends Controller {

	function index()
	{
			$this->load->model('Blog');
			$data['query'] = $this->Blog->get_last_ten_entries();
			$this->load->view('blogview', $dog);
	}
	function comments($id, $name)
	{
		echo "your id is: " . $id;
		echo "your name is: " . $name;
	}
	
}
?>

Initial URL

                                

Initial Description

                                

Initial Title
Basic Code Igniter Controller pt. 2

Initial Tags

                                

Initial Language
PHP