com presentations: Fixed PHP syntax: slides/mongodb/insert-intro.xml
[email protected] (Derick Rethans)
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: 894f914ef8c8780911f4b52726c20bd6855b51c0 Author: Derick Rethans <[email protected]> Tue, 17 Mar 2015 14:11:47 +0100 Parents: 7744611a4f3442a0c212c908449fccec1f7dc00b Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=894f914ef8c8780911f4b52726c20bd6855b51c0 Log: Fixed PHP syntax Changed paths: M slides/mongodb/insert-intro.xml Diff: diff --git a/slides/mongodb/insert-intro.xml b/slides/mongodb/insert-intro.xml index 1b0a27c..6678f5c 100644 --- a/slides/mongodb/insert-intro.xml +++ b/slides/mongodb/insert-intro.xml @@ -6,9 +6,9 @@ $m = new MongoClient; $m->dbname->steps->insert( [ - person => "derickr", - steps_made: [ - "20140201" => 10800, + 'person' => 'derickr', + 'steps_made' => [ + '20140201' => 10800, ] ] ); ?>]]>