[Geomoose-users] Processtemplate and Sql results
FRANZ OKYERE
franzzoa at hotmail.com
Fri Sep 25 07:06:22 EDT 2009
Hi all,
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
$maind = array();
$mapin = array();
while ($row = mysql_fetch_array($selResult)) {
array_push($maind, $row['myindex']);
array_push($mapin, $row['pin']);
}
#$results = $map->processtemplate($mapin, MS_FALSE);
$content = $content . $results;
Please any help or suggestion is welcome.
Franz Okyere
GIS Specialist/Lecturer
_________________________________________________________________
Get the best of MSN on your mobile
http://clk.atdmt.com/UKM/go/147991039/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090925/f651e68d/attachment.html
More information about the Geomoose-users
mailing list