I\'m trying to create a constructor in Code
It should be this...
<?php
class Blog extends CI_Controller {
function __construct() {
parent::__construct();
}
}
The tutorial you are probably going through is based on 1.7.2 which had a core of php4 which did not use the php5 __construct()
method of building Class constructors. Codeigniter 2.0.0 has a php5 core and uses it.