Example of using MongoDB database in collaboration with PHP