SHARE
TWEET

Untitled

a guest Sep 14th, 2017 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $queryString = "SELECT property_id,latitude,longitude FROM property WHERE
  2.                                         (power((69.1*(longitude - " . $sourceLong . ")*cos(" . $sourceLat . "/57.3)),2)+POW((69.1*(latitude-" .
  3.                                         $sourceLat . ")),2))< (" . $searchRange . "*" . $searchRange . ")" . $bedRange . $propertyType . $priceRange . $searchLimit;
  4.  
  5.         $cacheString = "FROM property a WHERE (power((69.1*(longitude - " . $sourceLong . ")*cos(" . $sourceLat . "/57.3)),2)+POW((69.1*(latitude-" . $sourceLat . ")),2))< (" . $searchRange . "*" . $searchRange . ")" . $bedRange . $propertyType . $priceRange;
RAW Paste Data
Top