简体   繁体   English

如何使用PHP的rets XML进行属性搜索

[英]How to do property search using rets XML with PHP

I have RETS configured and downloaded complete data on my live server. 我已经配置了RETS,并在我的实时服务器上下载了完整的数据。 I want someone helps to figure me out how to do search data from the RETSdata. 我希望有人能帮我弄清楚如何从RETSdata搜索数据。

Suppose, from the search form I choose, 2 beds, price ranges 100000 and 3 bath rooms. 假设,从我选择的搜索表中,有2张床,价格范围100000和3个浴室。 Now, I want to query this data from RETS XML and show the results based on this search criteria. 现在,我想从RETS XML查询此数据,并根据此搜索条件显示结果。

Can anybody give me direction. 谁能给我方向。 I have all the XML data saved on the server. 我已将所有XML数据保存在服务器上。 Now I want to query the data based on the search criteria i will post on XML file. 现在,我想根据我将发布在XML文件上的搜索条件来查询数据。

This answer is old, but might help someone who comes back here looking for the answer. 这个答案很旧,但可能会帮助回到这里寻找答案的人。

Just import the XML into a database (MySQL maybe?), and query the database. 只需将XML导入数据库(可能是MySQL?),然后查询数据库。 That's usually the 'standard' why of ETL (extract-transform-load) RETS data, to later query it. 这通常是为什么要使用ETL(提取-转换-加载)RETS数据以便稍后查询的“标准”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM