diff options
Diffstat (limited to 'demos/quickstart')
-rw-r--r-- | demos/quickstart/protected/pages/Database/ActiveRecord.page | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Database/ActiveRecord.page b/demos/quickstart/protected/pages/Database/ActiveRecord.page index a2890d77..c3cf663b 100644 --- a/demos/quickstart/protected/pages/Database/ActiveRecord.page +++ b/demos/quickstart/protected/pages/Database/ActiveRecord.page @@ -310,7 +310,7 @@ Record object and call the <tt>save()</tt> method. E.g. </p> <com:TTextHighlighter Language="php" CssClass="source block-content" id="code_690161"> $user1 = new UserRecord(); -$user1->username = "admin" +$user1->username = "admin"; $user1->email = "admin@example.com"; $user1->save(); //insert a new record |