Posts Tagged ‘ MongoException ’

A PHP program to delete documents from MongoDB collection

December 28, 2012
By
Deleting MongoDB documents from a PHP Program

In this article, we will create a php program to delete documents from MongoDB collection. The development environment for this application include Apache 2.2.22, PHP 5.3.10 and MongoDB 2.2.2. 1. Documents available in “students” collection before executing php program for deleting documents 2. Create a file namely “students_delete.php” in the document root of the...

Read more »

A PHP program to update collection data in MongoDB database with upsert option

December 28, 2012
By
Updating documents using PHP program

In our previous article titled “A PHP program to insert individual and batch data into MongoDB database“, we have developed a php application to insert data into MongoDB collection. In this article, we will create a php program which updates existing data with new data according to the criteria set. If no data is...

Read more »

A PHP program to fetch data from a collection in MongoDB database using cursors

December 27, 2012
By
A php program to fetch data from MongoDB database

In our previous article titled “A PHP program to insert individual and batch data into MongoDB database“, we have created a php program to insert data into MongoDB database. In this article, we will create a php program to fetch the data and display it in a web browser. The development environment for this...

Read more »

A PHP program to insert individual and batch data into MongoDB database

December 26, 2012
By
Program to insert data into MongoDB database

In this article, we will create a PHP application that inserts documents in to a collection individually and as a batch in a MongoDB database. This article is an extension to the article titled “Connecting and authenticating to MongoDB database from PHP using MongoClient“. Using this program, we are inserting data into “students” collection...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner