<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Does anyone have any updates on how to fix this? As I mentioned before I managed to get the ID field populated whenever I query the map but I need to get the same thing for the name of the road and the type of road...<BR> <BR>If there is anything else that you require please let me know as this is causing a great deal of confusion why it won't work!<BR> <BR>Thanks,<BR>Mark<br><BR><div><hr id="stopSpelling">From: mmirrlees@hotmail.com<br>To: steve.lime@state.mn.us; mapserver-users@lists.osgeo.org<br>Date: Wed, 20 Mar 2013 14:53:57 -0400<br>Subject: Re: [mapserver-users] query creation issues<br><br>


<div dir="ltr">


<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">Hi there, Ok I managed to get this outputted...but under the [name] and [type] I need to get these fields populated from the query of the mjrroads...<p> <table border="1">
<tbody><tr><th>ID</th><th>Name</th><th>Type</th></tr><tr><td>1164</td><td>[name]</td><td>[type]</td></tr></tbody>
</table><p> <p>Code from mjrroadsquery.html<p><!-- MapServer Template --><br><!--<IMG src="<a target="_blank">http://[host]/cgi-bin/mapserv.exe?mode=INDEXQUERY&qformat=png24&qlayer=mjrroads&shapeindex=[shpidx]&shpext=[shpext_esc]&mapext=shape&map=[map</a>]">--><br><tr><br> <td>[shpidx]</td><br>    <td>[name]</td><br> <td>[type]</td><br></tr><p> <p>Now if I change the [name] to [map] in the mjrroadsquery.html I get the following...<table border="1">
<tbody>
<tr>  
<th>ID</th>
<th>Name</th>
<th>Type</th></tr>
<tr>
<td>1164</td>
<td>/wwwroot/M_Mirrlees_Assign3/global.map</td>
<td>[type]</td></tr></tbody></table><p> <p>Code from mjrroads.html<p> <p><!-- MapServer Template --><br><h3><b>Layer: Major Roads</b></h3><br><br><br><INPUT NAME="img" TYPE="image" SRC="[img]" width=500 height=500 border=0 ALT="Map Image"><br><table border=1><br><tr>&nbsp;</td><br> <th>ID</th><br> <th>Name</th><br> <th>Type</th><br></tr><p> <p>All i'm trying to do is get the Name and Type fields to be showing the name of the road, and the type of the road.<p> <p>Thanks,<p>Mark<BR></div></div></div>                                    </div></body>
</html>