Ask Your Question

MDC IT Solutions's profile - activity

2015-09-16 11:38:19 -0500 received badge  Famous Question (source)
2015-09-16 11:38:19 -0500 received badge  Notable Question (source)
2015-09-16 11:38:19 -0500 received badge  Popular Question (source)
2015-09-10 14:12:10 -0500 received badge  Scholar (source)
2015-09-10 14:11:58 -0500 commented answer Agent Data no longer returned

thank you for looking into this. Agent Data is now returning. I made the code improvements as you suggested. Just some legacy code from connecting to the previous mls system.

2015-09-10 09:12:41 -0500 commented question Agent Data no longer returned

yes LA11_UserFirstName should be LA1_UserFirstName here is the information you requested

$loginUrl = "http://nsar.rets.paragonrels.com/rets/fnisrets.aspx/NSAR/login?rets-version=rets/1.7.2"; $username = "TPV16720";

2015-09-09 21:40:13 -0500 received badge  Editor (source)
2015-09-09 21:39:28 -0500 asked a question Agent Data no longer returned

I have been using the following code to retrieve agent email and phone numbers for a listing. For some reason over the past few days the query no longer returns results. is there a change in this process or is it possible my account has been limited in what data i can fetch?

I get no errors returned, no data, not a thing that points to a failure or a point to start to identify the issue.

$search = $rets->searchQuery("Agent","Agent",("U_UserFirstName={$rec['LA11_UserFirstName]}),(U_UserLastName={$rec['LA1_UserLastName']})",array('Limit'=>1,'select'=>'*'));

if($rets->TotalRecordsFound() > 0) {

      $agent = $rets->FetchRow($search);
      var_dump($agent);
}