Fixed typo, reported by Scott Burke (webfx @ #doctrine)
This commit is contained in:
parent
777539fbf3
commit
7b9eeb35bf
@ -17,12 +17,12 @@ $users = new Doctrine_Collection($conn->getTable('User'));
|
||||
$users = new Doctrine_Collection('User');
|
||||
|
||||
// adding some data
|
||||
$coll[0]->name = 'Arnold';
|
||||
$users[0]->name = 'Arnold';
|
||||
|
||||
$coll[1]->name = 'Somebody';
|
||||
$users[1]->name = 'Somebody';
|
||||
|
||||
// finally save it!
|
||||
$coll->save();
|
||||
$users->save();
|
||||
</code>
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user