Guest User

Untitled

a guest
Feb 21st, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. $condition = json_decode(file_get_contents("php://input"), true);
  2. $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