I know it isnt too well documented but maybe someone might know
Im using the following as part of my google maps phoogle php code to add a point to the map the $soemthing values are received from a database further up my script
[CODE]$map->addGeoPoint($row[‘lat’],$row[‘lng’],'<div style=”width:400px”><p>’.$photo.$propertyname.$phone.$email.$website.$description.'</p></div>’,$row[‘icon’]);
$row = mysql_fetch_array($result);
The problem i am having is with the $description, that is containing text that has many lines with line breaks, further up the script i was using nl2br() to make all the line breaks into <br> tags but any way i do it it does not work, only that portion is causing the map not to display everything else works fine on its own, it seems to be any text getting inputted into it that contains multiple lines of text, if it is one solid continuous line of text it works fine
Anyone know what i may be doing wrong or how i can fix this
Thanks