Google maps in php

<script src=”js/jquery.geocomplete.min.js”></script>
<script>
    $(function () {
        $(“#location”).geocomplete({
            details: “.geo-details”,
            detailsAttribute: “data-geo”
        });
    });
</script>
 
<input type=”text” name=”location” id=”location” class=”location form-control” placeholder=”Enter Location” value=”<?php echo $location; ?>” required=””>
Please follow and like us: