<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi all,<BR>
<BR>
It's me again. I am trying to output the values from an sql query to display via the mapserver template. Can anyone show give pointers how I can use the processtemplate() or appropriate funtion to make this work. I am struggling at the moment. Here is a bit of my code. Thanks<BR>
<BR>
$maind = array();<BR> $mapin = array();<BR> while ($row = mysql_fetch_array($selResult)) {<BR> array_push($maind, $row['myindex']);<BR> array_push($mapin, $row['pin']);<BR> }<BR>
<BR> #$results = $map->processtemplate($mapin, MS_FALSE);<BR>
$content = $content . $results;<BR>
<BR>
Please any help or suggestion is welcome. <BR>
<BR>
Franz Okyere<BR>
GIS Specialist/Lecturer<BR>                                            <br /><hr />
Upgrade to Internet Explorer 8 Optimised for MSN. <a href='http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U' target='_new'>Download Now</a></body>
</html>