It appears the only problem is the address string from the $_GET is
coming in a form that can't be digested properly.  Do you see what it
doesn't like?  Do I remove the %'s?
array(4) { [0]=> string(49) "44502%20Loneoak%2C%20Lancaster%2C%20CA%2C
%2093534" [1]=> string(53) "3537%203rd%20St%2E%2C%20Ridgefield%2C%20WA
%2C%2098642" [2]=> string(61) "931%20Alabama%20St%2E%2C%20San
%20Francisco%2C%20CA%2C%2094110" [3]=> string(50) "3050%20E%20R%2D12%2C
%20Palmdale%2C%20CA%2C%2093550" }

This is the involved code:
$addrarray = $_GET['addr'];

$addrarray = stripslashes($addrarray);

$addrarray = unserialize($addrarray);
var_dump($addrarray);
//echo "unserialized"."\n\n";

$gm = & new EasyGoogleMap($googlemaps_api_key);

# Set address point(s)
foreach( $addrarray as $key => $value){
$gm->SetAddress($value);

On Aug 1, 7:27 am, Ralph Ames <[email protected]> wrote:
> >I'm testing with this string which
> >is output from my database which works locally.  
>
> The class works ok, there must some else wrong.
> Add an address manually and work back to your output from the database.
>
> Ralph
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to