Maybe use isset() instead of isSet().

http://uk2.php.net/manual/en/function.isset.php

Don't want to be anal but syntax is important!

Martin.


On Dec 14, 10:12 am, Howie <[email protected]> wrote:
> You need something like this..
>
> http://www.railuk.info/maps/geo_update.phpwhich uses a form and ajax
> to geo_store.php:
>
> <?
> $lat        = isSet($_REQUEST['lat']) ? $_REQUEST['lat'] : '';
> $lng        = isSet($_REQUEST['lng']) ? $_REQUEST['lng'] : '';
> $id         = isSet($_REQUEST['details']) ? $_REQUEST['details'] :
> '';
>
> include("dbconnection");
>
> MYSQL_CONNECT($site, $username, $password) OR DIE("Unable to connect
> to database");
> @mysql_select_db( "$dbName") or die( "Unable to select database");
>
> $query = "UPDATE images SET latitude='$lat', longitude = '$lng' WHERE
> id = '$id'";
> $result = MYSQL_QUERY($query);
> ?>
>
> On Dec 13, 2:05 pm, "[email protected]" <[email protected]>
> wrote:
>
> > On Dec 13, 5:25 am, Michael <[email protected]> wrote:
>
> > > Thanks for the swift reply!
> > > Here is the way i load the xml and create the markers.
>
> > Looks like that is no.  Please read and follow the posting 
> > guidelines:http://groups.google.com/group/Google-Maps-API/web/suggested-posting-......
>
> > And you have a question on how to do that.  But Rossko answered that
> > in his first post, and you aren't doing it.
>
> >   -- Larry
>
> > > On 13 Dec., 14:01, Rossko <[email protected]> wrote:
>
> > > > > Is it possible to retrieve the markers id attribute when it is
> > > > > clicked?
>
> > > > Probably.  Did you assign a custom id attribute when you created the
> > > > marker?  I would recommend not using marker.id as other things might
> > > > also use that ... perhaps something like marker.my_id- Hide quoted text 
> > > > -
>
> > - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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.

Reply via email to