Question: When the submit button is pressed,the `isset($_POST['ta']` works,but the file is not updated inside database with '---------'. any suggestion where I am going wrong?

```
if ( isset( $_POST['ta'] ) ) {
    $handle = fopen('saw42.TextGrid', "a");
    require('db_connection.php');
    fwrite( $handle, "-----------");
    fclose( $handle );
}

```

Answer: 
There are some [predefined symbols](https://developers.google.com/maps/documentation/javascript/overlays#PredefinedSymbols) (e.g. arrows) available in V3 that may be used for an [`IconSequence`](https://developers.google.com/maps/documentation/javascript/reference#IconSequence).  

See <http://jsfiddle.net/doktormolle/V3gMT/> for a demo.
P1 AND P2 ARE POINTS. 

A point is this:
({ lat:Latitud, lng: Longitud }

Latitud and Longitud are values with coordinates.

```
function MapsP2P(p1, p2)
    //dipuja linea de punto a punto
        { 
            if (p1.lat != 0) { 
                var line = new google.maps.Polyline({
                    path: [
                        new google.maps.LatLng(p1.lat, p1.lng),
                        new google.maps.LatLng(p2.lat, p2.lng)
                    ],
                    strokeColor: "#0000FF",
                    strokeOpacity: 1.0,
                    strokeWeight: 1,

                    icons: [{
                          icon: {
                                  path: google.maps.SymbolPath.FORWARD_CLOSED_ARROW,
                                  strokeColor:'#0000ff',

                                  fillColor:'#000000',
                                  fillOpacity:1
                                },
                          repeat:'100px',
                          path:[]
                       }],

                    map: map
                })
                lines.push(line);
            }
    }

```