Can't get results from SearchQuery() in phrets

我怕爱的太早我们不能终老 提交于 2019-12-06 07:20:00

The second parameter in the search query is a string, not an integer. From the PHRETS specification: https://github.com/troydavisson/PHRETS/wiki/SearchQuery

Change your query from:

 $search = $rets->SearchQuery("Property",1,"(135=2013-01-01+)");

to:

$search = $rets->SearchQuery("Property","1","(135=2013-01-01+)");

If that doesn't work, try using the Standard Name of "ListDate" instead of the System Name of "135":

$search = $rets->SearchQuery("Property","1","(ListDate=2013-01-01+)");
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!