Welcome Guest, Not a member yet? Register   Sign In
Undefined method stdClass::save()?
#1

[eluser]rockstyle[/eluser]
Something like this in method when i submit:
Code:
$bank->title = $this->input->post('title');
        $bank->url = $this->input->post('url');
        $bank->description = $this->input->post('description');
        $bank->forum_url = $this->input->post('forum_url');
        $bank->updated_at = unix_to_human(time(), TRUE, 'eu');
        $bank->save();

And Error I got:
Code:
Fatal error: Call to undefined method stdClass::save() in...

Help Tongue


Messages In This Thread
Undefined method stdClass::save()? - by El Forum - 02-06-2010, 07:16 PM
Undefined method stdClass::save()? - by El Forum - 02-06-2010, 09:46 PM
Undefined method stdClass::save()? - by El Forum - 02-07-2010, 04:36 AM
Undefined method stdClass::save()? - by El Forum - 02-07-2010, 04:49 AM
Undefined method stdClass::save()? - by El Forum - 02-07-2010, 05:06 AM
Undefined method stdClass::save()? - by El Forum - 02-07-2010, 12:30 PM
Undefined method stdClass::save()? - by El Forum - 02-08-2010, 12:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB