Using Phrets....what is correct query for searching for two or more cities...eg (L_City=Fairhope || L_City=Daphne)
$rets_login_url = "http://bcar.rets.paragonrels.com/rets/fnisrets.aspx/BCAR/login?rets-version=RETS/1.7.2"; $rets_username = "ChasonWachter";
Using Phrets How do I create a query for multiple cities (but not all)
tried (L_City=Fairhope || L_City=Daphne)…...didn't work.
Evidently what documentation I have found isn't correct for this...
Comments
ok...thanks.....related question: When looking up for example, LM_bit_34, which is "waterfront", the RETS Metadata documentation show values of either 0 or 1. (and the form agents fill out when listing a property is Y/N). So I can guess that 0 is N and 1 is Y, BUT WHERE DOES IT ACTUALLY SAY THAT? Am I missing some documentation?
The field type is "Boolean" in the METADATA-TABLE which means you would use 0 or 1 to search.
The value would be returned as 0 or 1 or empty (null).
Sample searches: (LM_bit_34=.EMPTY.) (LM_bit_34=1) (LM_bit_34=0)