Please share the html snippets used for each of your templates and we can show you how to swap them around.
-----Original Message----- From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On Behalf Of william paul Sent: Wednesday, January 09, 2008 1:55 PM To: MAPSERVER-USERS@LISTS.UMN.EDU Subject: Re: [UMN_MAPSERVER-USERS] itemnquery problems Please, can you give an example (Rich or Siki)? I am using the same template for mapserver as for displaying the query results Thank you William ----- Original Message ---- From: Richard Greenwood <[EMAIL PROTECTED]> To: MAPSERVER-USERS@LISTS.UMN.EDU Sent: Wednesday, January 9, 2008 3:30:54 PM Subject: Re: [UMN_MAPSERVER-USERS] itemnquery problems On Jan 9, 2008 5:37 AM, william paul <[EMAIL PROTECTED]> wrote: > > Hi: > I am using itemnquery mode to display results obtained from a database > query. The url looks like: > > ...mode=itemnguery&qlayer=qlayer&qitem=fieldtoquery&qstring=/value1|valu e2|valuen/ > > The spatial extent of the image is correct and I can see all the features > selected, but the entire web page page is displayed 14 times > > Any help is appreciated > > Thank you > > William Most likely you got 14 results, so MapServer drew 14 maps for you. If you want all 14 results shown in a single map, try moving your template definition from TEMPLATE to HEAD, and using an empty file for the TEMPLATE. Rich -- Richard Greenwood [EMAIL PROTECTED] www.greenwoodmap.com <http://www.greenwoodmap.com/> ________________________________ Never miss a thing. Make Yahoo your homepage. <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>