com presentations: Fixed PHP syntax: slides/mongodb/insert-intro.xml
| From: | Derick Rethans | Date: | Tue, 17 Mar 2015 13:11:47 +0000 |
| Subject: | com presentations: Fixed PHP syntax: slides/mongodb/insert-intro.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-2044@lists.php.net to get a copy of this message | ||
Commit: 894f914ef8c8780911f4b52726c20bd6855b51c0
Author: Derick Rethans <github@derickrethans.nl> 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,
]
] );
?>]]>