Lance B,
SimpleXML extension is easier.
$lat = $_GET['lat'];
$lng = $_GET['lng'];
$file = 'simple.xml';
if ($xml = simplexml_load_file($file)){
......
see http://japonyol.net/editor/edit.php
it need PHP and XML files, no DB.
On 2月13日, 午前1:29, Lance B <[email protected]> wrote:
> Sorry, what i mean is i do not know how the php script works to GET
> the new marker and store it so that the map can be updated.
>
> I dont like asking for code, but i do not have access to enough
> litterature to learn php, thus perhaps and example of how the complete
> structure works for mike's example.
>
> Thanks.
>
> On Feb 9, 6:39 pm, Rossko <[email protected]> wrote:
>
> > > The only problem is i am uncertain how the PHP write the new marker to
> > > the page...
>
> > That's a bit ambiguous, but putting this in the context of your
> > original post -
> > "We would like our users to move the marker(currently the black
> > arrow)
> > and once they have the desired location, the user should click an
> > 'add' button. This should then refresh the page with the user's added
> > marker already posted on the map. "
> > so I'm guessing you mean ...
>
> > Having submitted the new marker position to php, how do we refresh the
> > end user's webpage?
> > This would be the same as any other form submission to php, the php
> > would be written to respond with some kind of 'results' page to
> > replace the page the form was sent from. Presumably in your case your
> > results page would take the form of a map and "updated OK" message, or
> > "error" or somesuch.http://myphpform.com/
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.