[eluser]Aziz Chouhan[/eluser]
hi shannon
all i read about your post i found some mistaken concepts.
like
1. you make your model looking correct,but it can work perfectly when it calls from a controller.
2. make a controller which is called when a page is submitted to the server
3. in that controller
a. first load your model
$this->load->model('Membership_model');
b. then call your model function
$this->Membership_model-> validate()
that you have done in your code
4. all before your code ,you are missing this in you model code
function __construct()
{
// Call the Model constructor
parent::__construct();
}
this is very important,and always use this,ok
now i think your code will run successfully.
for full help of code reply me
enjoy