[eluser]Unknown[/eluser]
None of what appears in these comments has worked for me. I'm just trying to follow the basic tutorial video and keep getting
Code:
Fatal error: Class 'Controller' not found in /home2/something/public_html/something-else/system/application/controllers/invest.php on line 3
Or
Code:
Class 'CI_Controller'
, same problem.
Here's my code:
Code:
<?
class Invest extends CI_Controller {
function __construct()
{
parent::__construct();
// Your own constructor code
}
function Invest()
{
parent::Controller();
}
function index()
{
//$this->load->view('investor_browse_page');
$this->Page_Display();
}
function Page_Display()
{
$data[1] = 'poop';
$data[2] = 'pee';
$data[3] = 'flatus';
$this->load->view('investor_browse_page', $data);
}
} //end class
?>
You can see the detritus of many attempts at making this work.