Java Script

Display each users location in google map using address in PHP and Java Script

  • kanika

    nice tutorial…Is there any way if you could advise how to display directions to locations. Thanks in advance.

  • please teach me how to show location ‘saved’ from database 🙂

    just send me an email agungrajibnugraha@gmail.com 🙂 please ^_^

  • Manvi Agarwal

    Thanx…

  • Robert Banister

    On your LINE 21 in process.php, you need to CORRECT the following
    $add to $address…dugh

    $geocode = file_get_contents(‘http://maps.google.com/maps/api/geocode/json?address=’.$add.’,+’.$city.’,+’.$state.’,+’.$country.’&sensor=false’);
    to

    $geocode = file_get_contents(‘http://maps.google.com/maps/api/geocode/json?address=’.$address.’,+’.$city.’,+’.$state.’,+’.$country.’&sensor=false’);