CodeIgniter Forums

Full Version: Save coordinate from html 5 geolocation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to save user location when he login. The location is already shown latitude and longitude based on here https://www.w3schools.com/html/html5_geolocation.asp

But how to save long and lat from a user  into mysql?
Already google but not found suitable solution yet. 
Thanks
You will need to use something called AJAX and send it to your server.