未显示搜索结果的潜水


phrets not showing search results

我正在研究潜水。当我使用GetMetadataTypes()方法时,它会显示结果,但当我进行搜索查询时,它不会,我的意思是没有结果。

目前这是在我的本地服务器(XAMPP)上。它在本地服务器上工作吗?

我的代码在这里

$search = $rets->SearchQuery("Property","RES","(ListDate=1990-01-01+)");
// get the first record returned
$listing = $rets->FetchRow($search);
// get list of fields for our loop
$fields = $rets->SearchGetFields($search);
// loop through each field in the response and pull it's value
foreach ($fields as $field) {
        echo "+ {$field} value is {$listing[$field]}'n";
}

请帮我

感谢

有些rets服务器有一些类,其中查询中应该有一些必需的字段,以便提取数据。egs:而不是(ListDate=1990-01-01+),您可能需要传递以下必填字段((ListDate=1990-01-01+)(状态!=ACT,SLD))其中"状态"是必填字段。