0
下面的查詢不適合我在PHP中工作,我需要幫助找出它有什麼問題,我檢查了其他的例子,仍然不知道如何解決它...
$query = array(
"Client" => $notificationJob['Client'],
"Email" => $notificationJob['Email'],
"Backup Type" => $notificationJob['Backup Type'],
array ("$and" =>
array(
array("Message Subject" => new MongoRegex('/'. preg_quote($notificationJob['MessageSubject string1']). '/i')),
array("Message Subject" => new MongoRegex('/'. preg_quote($notificationJob['MessageSubject string2']). '/i'))
)
),
"Time Stamp" => array('$lte'=>New Mongodate($startDate->getTimestamp()))
);
我得到的錯誤是:
注意:未定義的變量:在...
非常感謝你
謝謝爆炸藥丸 –