frank_solo Posted April 19, 2011 Share Posted April 19, 2011 I had bought a script from here: php google maps and have been using the attached php script. It was working and than apparently stopped working with this error "602: Unable to Geocode this address" Can anyone tell me if there is another solution? Or if I can use another method besides $gmap->showLocation($cross,$town,$county$state); Thanks! <?php require_once('gmap.php'); $gmap = new GMap(); $cross = $result['cross_streets']; $county = $result['county']; $town = $result['town']; $state = 'New York'; $gmap->showLocation($cross,$town,$county$state); ?> Quote Link to comment https://forums.phpfreaks.com/topic/234196-problem-with-gmap-23-php-google-maps/ Share on other sites More sharing options...
jcbones Posted April 19, 2011 Share Posted April 19, 2011 I would suggest that you contact the people who sold it to you. They could likely fix it up with a line or two. While we would be floundering with code that we don't have, unless you buy each of us a copy. Quote Link to comment https://forums.phpfreaks.com/topic/234196-problem-with-gmap-23-php-google-maps/#findComment-1203740 Share on other sites More sharing options...
dcro2 Posted April 19, 2011 Share Posted April 19, 2011 Do you mean... $gmap->showLocation($cross,$town,$county, $state); ? or.. $gmap->showLocation($cross,$town,$county.$state); Quote Link to comment https://forums.phpfreaks.com/topic/234196-problem-with-gmap-23-php-google-maps/#findComment-1203743 Share on other sites More sharing options...
frank_solo Posted April 19, 2011 Author Share Posted April 19, 2011 Thank you dcro2 and sorry I meant $gmap->showLocation($cross,$town,$county,$state); Quote Link to comment https://forums.phpfreaks.com/topic/234196-problem-with-gmap-23-php-google-maps/#findComment-1203745 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.