[eluser]mason22[/eluser]
My code still won't work >.< I've looked at the guides and I'm having no success.
MY_Common.php looks like this:
Code:
class MY_Common extends Controller{
function MY_Common(){
parent::Controller();
}
}
my common is in the library folder
contact.php looks like:
Code:
class Contact extends MY_Common{
function Contact(){
parent::MY_Common();
}
function index(){
$this->load->view('contact_view', $this->data);
}
}
contact is in the controller folder. I get this error:
Fatal error: Class 'MY_Common' not found