Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $condition = json_decode(file_get_contents("php://input"), true);
- $models = Location::model()->findAll(array("condition"=>"latitudeE6 between (($condition[0] - 900) and ($condition[0] + 900)) AND (($condition[1] - 900) and ($condition[1] + 900))"));
Add Comment
Please, Sign In to add comment