PHP code help, geolocation and API

Hi,

I’m creating a mobile app using jquery mobile. I want the app to locate users and then display a list of food places nearby (or within a specified radius, if possible). I was also hoping to separate the results by category (for e.g. fast food, healthy food, bakeries etc.) but if that’s not possible then that’s okay haha

I am reasonably new to php coding and really have no idea what I am doing! Is there a way to obtain the user’s location and tailor results to that? Is it possible to use API’s like Yelp?

Any help would be fantastic!

Thanks.

Edit: Oh, you need GPS not ip2location. I have never done anything with GPS before perhaps this is a good place to start?

W3C Geolocation API
http://dev.w3.org/geo/api/spec-source.html

Sponsor our Newsletter | Privacy Policy | Terms of Service