06-03-2011, 01:01 AM
[eluser]JasmineFlower[/eluser]
Hi,
I am using codeigniter 2.0.1.
I got an error on my model.
error: Fatal error: Call to undefined method CI_Model::CI_Model() in C:\xampp\htdocs\icadnxgen\icad_app\models\register_model.php on line 7
how to solve this problem?
Hi,
I am using codeigniter 2.0.1.
I got an error on my model.
Code:
<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
class Register_model extends CI_Model
{
function Register_model()
{
parent::CI_Model();
}
public function individual_user_registration($table_name)
{
$this->db->select($table_name);
}
}
?>
error: Fatal error: Call to undefined method CI_Model::CI_Model() in C:\xampp\htdocs\icadnxgen\icad_app\models\register_model.php on line 7
how to solve this problem?