Nodral Posted October 26, 2011 Share Posted October 26, 2011 Hi I'm using php to create URL's for Google Maps API from a massive database of locations so that each one appears on the web page with the details and a map of the immediate area. I've got 90% of this working, however I have an issue with the French (lol). Where they have a name such as Cotes d'zure, the apostrophe makes the URL fail and no map show. Does anyone know of a work around for this? Would urlencode solve this issue? Link to comment https://forums.phpfreaks.com/topic/249847-createing-url-with-php/ Share on other sites More sharing options...
AyKay47 Posted October 26, 2011 Share Posted October 26, 2011 urlencode should do the trick here. will convert it into url friendly characters. Link to comment https://forums.phpfreaks.com/topic/249847-createing-url-with-php/#findComment-1282414 Share on other sites More sharing options...
Nodral Posted October 26, 2011 Author Share Posted October 26, 2011 Brilliant, cheers Link to comment https://forums.phpfreaks.com/topic/249847-createing-url-with-php/#findComment-1282416 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.