anda harus menulis json ke area teks Anda. seperti:
{
"Chat_time": {
"$gt" => "xxx",
"$lte" => "yyy"
}
}
di php
// json string to array using json_decode
$query = json_decode($_POST['txt_area'], true);
$user_code = $coll->find($query);