Commit 7b9eeb35 authored by nicobn's avatar nicobn

Fixed typo, reported by Scott Burke (webfx @ #doctrine)

parent 777539fb
...@@ -17,12 +17,12 @@ $users = new Doctrine_Collection($conn->getTable('User')); ...@@ -17,12 +17,12 @@ $users = new Doctrine_Collection($conn->getTable('User'));
$users = new Doctrine_Collection('User'); $users = new Doctrine_Collection('User');
// adding some data // adding some data
$coll[0]->name = 'Arnold'; $users[0]->name = 'Arnold';
$coll[1]->name = 'Somebody'; $users[1]->name = 'Somebody';
// finally save it! // finally save it!
$coll->save(); $users->save();
</code> </code>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment