I\'m having an issue with special characters for addresses from my database for google geocode, but not if I hardcode them.
Simple geocode code
$url = \"
What if, you do the following:
$query="SELECT * FROM mytable"; $result=mysqli_query($GLOBALS["___mysqli_ston"], $query); while($row=mysqli_fetch_assoc($result)){ $address = urlencode(mb_convert_encoding($row['address'], 'UTF-8')); // geocode code... }