<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello! How to keep new coordinates in db when the user moved a
    point?<br>
    So I create points:<br>
    <i>        var layerNodes = new OpenLayers.Layer.Vector("Nodes", {</i><i><br>
    </i><i>                strategies : [new
      OpenLayers.Strategy.BBOX({resFactor: 1.1})],</i><i><br>
    </i><i>                protocol   : new OpenLayers.Protocol.HTTP({</i><i><br>
    </i><i>                    url    :
      "get_layers.php?mode=GetNodesMarkers",</i><i><br>
    </i><i>                    format : new OpenLayers.Format.Text()</i><i><br>
    </i><i>                })</i><i><br>
    </i><i>            });</i><i><br>
    </i><i>            map.addLayer(layerNodes);</i><br>
    <br>
    And how to make line change (it is necessary, that the user could
    extend line) and to keep new coordinates in a DB?<br>
    So i create the line:<br>
        <i>lineLayer = new OpenLayers.Layer.Vector("Lines");</i><i><br>
    </i><i>    map.addLayer(lineLayer);</i><i><br>
    </i><i>    var line = new OpenLayers.Geometry.LineString(points);</i><i><br>
    </i><i>    line.transform(new OpenLayers.Projection("EPSG:4326"),
      new OpenLayers.Projection("EPSG:900913"));</i><i><br>
    </i><i>    var lineFeature = new OpenLayers.Feature.Vector(line,
      null, style_arr[CableLine_arr[k]['style']]);</i><i><br>
    </i><i>    lineLayer.addFeatures([lineFeature]);</i><br>
    <br>
    Movement of lines and points I plan to do, as here:
    <a class="moz-txt-link-freetext" href="http://openlayers.org/dev/examples/drag-feature.html">http://openlayers.org/dev/examples/drag-feature.html</a><br>
    <br>
    Thanks for answers!<br>
  </body>
</html>