scripts ..can anybody provide me with a sample database for eg.the database
of a project like SURVEY .as i am not getting how to work on mongo through
PHP .just to elaborate what i mean i am giving a sample along.
$document = array(
"_id" => "derickr",
"name" => "Derick Rethans",
"articles" => array(
"title" => "Profiling PHP Applications",
"url" => "http://derickrethans.nl/talks/profiling-phptourlille11.pdf",
"title" => "Xdebug",
"url" => "http://derickrethans.nl/talks/xdebug-phpbcn11.pdf",
$m = new Mongo();
var_dump( $m->demo->articles->insert( $document ) );
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to email@example.com
To unsubscribe from this group, send email to
See also the IRC channel -- freenode.net#mongodb
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.