Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
2k views

Get current location in JS/PHP

I am trying to get current location (with address, not only lat, long), But i am stuck that how to get? Here is the code: <button onclick="getLocation()">Click Me</button> <div id="...
Zain Shabir's user avatar
1 vote
1 answer
223 views

Passing jQuery variables to external PHP file

For my web application I am trying to post latitude and longitude variables from javascript (googleMap.js) to an external php file (closestLocations.php). I am using the AJAX post method to post the ...
studentm's user avatar
0 votes
0 answers
2k views

Geolocation : Get Formatted Address

I've been trying to get formatted address using geolocation for few days now. I have an on click button that will detect the location based on latitude and longitude. The location will be display on ...
Iman Yasmin's user avatar
1 vote
0 answers
324 views

Issue in Inserting value of javascript variable in mysql database using php

HTML CODE <!DOCTYPE html> <html> <head> <title>Geolocation</title> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta ...
Shaurya Shikher's user avatar
0 votes
1 answer
4k views

Geo location getCurrentPosition() and watchPosition() not work on insecure origins

I need user's Lattitude and longitude using php. try following code. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example of HTML5 ...
TarangP's user avatar
  • 2,738
0 votes
2 answers
6k views

Google Maps API JavaScript with PHP

I must be over-looking something simple but I'm not getting any errors. I'm also not getting any maps. The PHP to call the address and zip code work fine, both are in there correctly. Tried on a ...
mrmunk's user avatar
  • 69