Do you have a question? Post it now! No Registration Necessary. Now with pictures!
June 18, 2007, 11:00 am
rate this thread
The code below opens a box in a google map and displays some data
from a MySql table within. The map is displayed in an iFrame(I know,
not the best way to do it). At the moment, clicking on the generated
link in the box causes the resulting webpage to open in the iFrame.
Instead I would like it to open in a new page.
Can you tell me where I am going wrong?
echo "var point = new GLatLng(" . $row['field_5'] . "," .
$row['field_4'] . ");\n";
echo "var marker = createMarker(point, '" .
addslashes($row['field_1']) . "<br /><a href=\"" .
$row['field_2'] . "
\">". $row['field_2'] ."</a><br .>" . $row['field_3'] . "',4);