diff --git a/reference/mongo/examples.xml b/reference/mongo/examples.xml index f6530cd6b3..49121b4c6c 100644 --- a/reference/mongo/examples.xml +++ b/reference/mongo/examples.xml @@ -1,5 +1,5 @@ - + &reftitle.examples; @@ -20,7 +20,7 @@ include "mongo.php"; $m = new Mongo(); // select a database -$db = $m->selectDatabase("comedy"); +$db = $m->selectDB("comedy"); $collection = $db->selectCollection("cartoons"); // add an element diff --git a/reference/mongo/mongodate/construct.xml b/reference/mongo/mongodate/construct.xml index d6734ddb0b..a50861f73c 100644 --- a/reference/mongo/mongodate/construct.xml +++ b/reference/mongo/mongodate/construct.xml @@ -1,5 +1,5 @@ - + @@ -11,10 +11,11 @@ &reftitle.description; MongoDate::__construct - longsecs + longsec + longusec - Creates a new date. If no parameter is given, the current time is used. + Creates a new date. If no parameters are given, the current time is used. @@ -24,7 +25,7 @@ - secs + sec @@ -32,6 +33,16 @@ + + + usec + + + + Microseconds. + + + @@ -39,7 +50,7 @@ &reftitle.returnvalues; - Returns the new date. + Returns this new date.