troubleshooting Question

GPS save in database

Avatar of RiccardoQuest
RiccardoQuest asked on
JavaScriptWeb DevelopmentGIS/GPS ProgrammingPHP
19 Comments2 Solutions1279 ViewsLast Modified:
This problem has been going on for a little while and I'm pretty sure I'm really close to achieving what I need.

I have a GPS script using javascript that uses the function geoFindMe() to output into the id of the div "show".

However, this displayed both longitude and latitude as one.

Therefore I decided to separate them by using .values in the javascript so that in the form both values would be separated.

This worked however it takes two clicks to actually get the GPS information in the two inputs.

This will be a part of a form where on SUBMIT of that form the longitude and latitude are stored in the database without the user seeing anything so their location can be verified at a later date.

I need help creating this so that on the input submit the location longitude and latitude is stored in a MySQL database.
stack.html
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 19 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros