<br><font size=2 face="sans-serif">Steffen,</font>
<br><font size=2 face="sans-serif">I changed the code, but the link still
does not work.</font>
<br>
<br><font size=2 face="sans-serif">thanks for your help.</font>
<p>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Steffen Macke <sdteffen@web.de></b>
</font>
<br><font size=1 face="sans-serif">Sent by: maplab-users-bounces@lists.maptools.org</font>
<p><font size=1 face="sans-serif">09/01/2004 03:08 PM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">maplab-users@lists.maptools.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[SPAM] - Re: [maplab-users]
links from map to jpg - Email found in subject</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Kevin, could you try to replace the crucial<br>
for loop with the version below?<br>
<br>
Regards,<br>
<br>
Steffen<br>
<br>
// loop and add a cell for each result<br>
foreach ( $aRow as $key => $xCell ) {<br>
// $xCell is the attribute value, in this case,when the $key attribute
name <br>
// is equal to "Long_DD" and "Lat_DD" only display
the value of attribute.<br>
if((strcasecmp($key, "Long_DD") == 0) or <br>
(strcasecmp($key, "Lat_DD") == 0 )) {<br>
$szReturnValue .= "<td bgcolor=\"#ffffff\">".<br>
"<font face=\"Arial, Helvetica, sans-serif\"
size=\"2\">". <br>
$xCell."</font></td>\n";<br>
}<br>
<br>
// when the attribute name is equal to MS_PATH2, hyperlink according
to the <br>
// value of attribute, the attribute value of MS_PATH2 should be
simliar as <br>
// http://localhost/photoalbum/image.jpg <br>
//photoalbum folder with images is put at your web server.<br>
<br>
else if(strcasecmp($key, "MS_PATH2") == 0) {<br>
$szReturnValue .= "<td bgcolor=\"#ffffff\">
<a href=\"".$xCell.<br>
"\"> Click here to document</a></td>\n";<br>
} <br>
}<br>
_______________________________________________<br>
Maplab-users mailing list<br>
Maplab-users@lists.maptools.org<br>
http://lists.maptools.org/mailman/listinfo/maplab-users<br>
</tt></font>
<br>