[eluser]osci[/eluser]
Look man
Code:
<?php class Blog extends CI_Controller {
function __construct()
{
parent::__construct();
}
public function blog($g_subject)
{
$query = $this->db->where('subject', $g_subject)->get('miniblog');
// etc
}
Class Blog
php5 constructor __construct
php4 constructor blog (and wrong case btw, should be Blog since its the PHP4 CONSTRUCTOR)
Man I'm not here to tutor you. You need to read php. I gave you code to read not to copy paste.
And as I said that's about it.