I'm currently trying to make an application that uploads the users current location into my mysql database. I know how to use google maps in javascript. I know enough to make php work.
What I don't know is how can I take my current location and continually loop it through my database. I was hoping to update the users location every 2 minutes without Post & Get variables. If anybody has any information, any documentation or anything that would be great. I tried looking it up.
I found people saying to use AJAX but I'm not sure how that would loop through my current location without some kind of interaction.
I also saw the other talking about turning it into JSON data.
Any thoughts would be greatly appreciated!