I am doing a project using the MongoDb.my problem, when I create a collection, I also need to insert data. but I want to create a collection without data (same as creating a table in mysql without data.)
http://docs.mongodb.org/manual/reference/method/db.createCollection/
A quick google would show it.
db.createCollection("something")
Edit
PHP Method: http://php.net/manual/en/mongodb.createcollection.php
$db->createCollection("something");