ok, decided to use the tutorial from ibm.com for the addressbook to learn codeigniter, scrapped the first project, but after I submit the form, I get the following error:\[code\]Fatal error: **Class 'Mcontacts' not found in C:\xampp\htdocs\AddressBook\system\libraries\Loader.php on line 184** \[/code\]what am I doing wrong? please help! I really want to learn codeigniter!`\[code\]//controller class<?phpclass Welcome extends Controller { function Welcome() { parent::Controller(); } function index(){ $this->load->helper('form'); $data['title'] = "Welcome to our Site"; $data['headline'] = "Welcome!"; $data['include'] = 'home'; $this->load->vars($data); $this->load->view('AddressBook/index', true);// the true argument is optional, but I prefer to add it }function contactus(){ $this->load->helper('url'); if ($this->input->post('email')){ $this->load->model('MContacts','',TRUE); $this->MContacts->addContact(); redirect('welcome/thankyou','refresh'); }else{ redirect('welcome/index','refresh'); } }/* function contactus(){ $this->load->helper('url'); $this->load->model('M_Contacts'); $this->M_Contacts->addContact();// accesses the add contacts funtion we created in the mcontacts model class redirect('welcome/thankyou','refresh');//redirects to the thank you function in the welcome controller } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // thankyou is an extra funtion for thanking the user after they have made use of the address book */ function thankyou(){ $data['title'] = "Thank You!"; $data['headline'] = "Thanks!"; $data['include'] = 'thanks'; $this->load->vars($data); $this->load->view('AddressBook/index'); }}/* End of file welcome.php *//* Location: ./system/application/controllers/welcome.php *///model class<? /********************************************************************************************************************** My first codeigniter application, addressbook application using the tutorial from ibm.com's developer network ***********************************************************************************************************************/ class MContacts extends Model{ function MContacts(){ parent::Model(); } function addContact(){ $now = date("Y-m-d H:i:s"); $data = http://stackoverflow.com/questions/2080513/array('name' => $this->input->xss_clean($this->input->post('name')), 'email' => $this->input->xss_clean($this->input->post('email')), 'notes' => $this->input->xss_clean($this->input->post('notes')), 'ipaddress' => $this->input->ip_address(), 'stamp' => $now ); //xss_clean is used to filter the user's data, and prevent xss attacks, the data is entered into the database as an associative array $this->db->insert('contacts', $data); } }?>//Veiw files----------//index.php<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title><?php echo $title;?></title></head><body><div> <div> <h1><?php echo $headline;?></h1> <?php $this->load->view($include);?> </div></div></body></html>// home.php file<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title></head><body> <p>This is random text for the CodeIgniter article. There's nothing to see here folks, just move along!</p> <h2>Contact Us</h2> <?php echo form_open('welcome/contactus'); echo form_label('your name','name'); $ndata = http://stackoverflow.com/questions/2080513/array('name' => 'name', 'id' => 'id', 'size' => '25'); echo form_input($ndata); echo form_label('your email','email'); $edata = http://stackoverflow.com/questions/2080513/array('name' => 'email', 'id' => 'email', 'size' => '25'); echo form_input($edata); echo form_label('how can you help you?','notes'); $cdata = http://stackoverflow.com/questions/2080513/array('name' => 'notes', 'id' => 'notes', 'cols' => '40', 'rows' => '5'); echo form_textarea($cdata); echo form_submit('submit','send us a note'); echo form_close();?>// the errors I get after sending the form which shows up:$this->input->xss_clean($this->input->post('name')), 'email' => $this->input->xss_clean($this->input->post('email')), 'notes' => $this->input->xss_clean($this->input->post('notes')), 'ipaddress' => $this->input->ip_address(), 'stamp' => $now ); //xss_clean is used to filter the user's data, and prevent xss attacks, the data is entered into the database as an associative array $this->db->insert('contacts', $data); } } ?>`\[/code\]ps: excuse the way the code looks, have no idea how to make it look better as I am posting it here