mongo用php怎么添加数据?
$connection=newMongo(“example.com网站“)//链接到远程主机(默认端口)$connection=newMongo(”example.com:65432“)//linktothecustomportprintoftheremotehost_ur($connection->listdbs())//可以打印出数据库数组以查看有多少个数据库。
$connection=newMongo(“example.com网站“)//链接到远程主机(默认端口)$connection=newMongo(”example.com:65432“)//linktothecustomportprintoftheremotehost_ur($connection->listdbs())//可以打印出数据库数组以查看有多少个数据库。