I'm here with Google Maps API. I've got map working, I learned how to set markers with custom images.
I also made custom search bar and I plan to make PHP/SQL connection, so whenever user uses it, it saves copy of address in database so that it can be recalled whenever he/she may like it. Now problem is, while Googling I found stuff only that place standard Google search bar, the really standard one, just like maps.google.com, but it doesn't really allow interaction, sure, I can place markers where it points me to, but I can't use this address in query to database. Is there a way to make Google API seek for address from custom bar?

Yup, use the Geocoding API, you can use cURL or simply file_get_contents(), an example:

<?php

    # geocoding
    $api = 'YOUR_SERVER_API_KEY';
    $url = 'https://maps.googleapis.com/maps/api/geocode/';
    $format = 'json';

    $paramenters = array(
        'address' => $_GET['address_line'],
        'key'     => $api
    );

    $submit   = $url . $format . '?' . http_build_query($paramenters);
    $response = json_decode(file_get_contents($submit), true);

    print_r($response);

The format can be either json or xml. Note: the Geocoding API is meant for server side operations, not for direct client access, for that as suggested in the documentation there is another API.

For more information read this:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.