join
PHPを使用してecho
2つの異なるMongoDBコレクションを作成する方法は?
MYSQL で (PHP を使用)
$query=mysql_query("SELECT U.username, P.post FROM users U, posts P WHERE u.user_id=p.user_id_fk") or die(mysql_error());
while($result=mysql_fetch_array($query)){
echo $result['username'];
echo $result['post'];
}
MongoDB で (PHP を使用) ???