[eluser]adityajoshi[/eluser]
it doesnt work
$user = $this->session->userdata(‘userid’);
Doctrine::getTable(‘Profile’)->find($user);
$e->user_id = $this->session->userdata(‘userid’);
$e->name = $this->input->post(‘pname’);
$e->Sex = $this->input->post(‘sex’);
$e->City = $this->input->post(‘city’);
$e->DOB = $this->input->post(‘stats’);
$e->Interests = $this->input->post(‘interests’);
$e->save();
$this->load->view(‘profile’);
error
Call to undefined method stdClass:
ave()