Friday, August 31, 2012

Re: radius search zip code in cake php



On Friday, 31 August 2012 16:12:40 UTC+2, Rana Singh wrote:
Hello guys Please Help Me i want to implement radius search in cake php but i am not having script ,the script which i have it takes to much time to find all zipcode with in a mile

I recommend:

1) you get the db to do it (google how to do lat long radius queries)
2) you put the query that works for you in a call to $ModelInstance->query();
3) you use the result

AD 

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: