Welcome Guest, Not a member yet? Register   Sign In
ActiveRecord for CodeIgniter: Rails-style model interactions
#7

[eluser]Matthew Pennell[/eluser]
[quote author="gunter" date="1190390055"]and how can I use the update() ??[/quote]
Like this:

Code:
$me = $this->Person->get_by_id($id);
$me->title = 'New Title';
$me->content = 'Blah blah blah';
$me->update();


Messages In This Thread
ActiveRecord for CodeIgniter: Rails-style model interactions - by El Forum - 09-21-2007, 05:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB