[mapserver-users] Fwd: setfilter

Steve Lime steve.lime@dnr.state.mn.us
Fri, 22 Mar 2002 15:58:55 -0600


Received: from mail.state.mn.us
	(state.mn.us [156.99.125.109])
	by co5.dnr.state.mn.us; Fri, 22 Mar 2002 10:05:09 -0600
Return-Path: <root@localhost.localdomain>
Received: from lists.gis.umn.edu by mail.state.mn.us with ESMTP for steve.lime@dnr.state.mn.us; Fri, 22 Mar 2002 10:04:56 -0600
Received: from localhost.localdomain ([200.54.64.42])
	by lists.gis.umn.edu (8.9.3+Sun/8.9.1) with ESMTP id KAA08259
	for <mapserver-info@lists.gis.umn.edu>; Fri, 22 Mar 2002 10:06:07 -0600 (CST)
Message-Id: <200203221605.g2MG5j202296@localhost.localdomain>
From: Patricio Gigoux <pgigoux@munistgo.cl>
Reply-To: pgigoux@munistgo.cl
To: mapserver-info@lists.gis.umn.edu
Subject: setfilter
Date: Fri, 22 Mar 2002 12:05:37 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hello:
Can somebody give me an example about of the use setfilter?

I have tested it from map file and no problem, but when I had tried from PHP 
file give me troubles or better said have displayed nothing. I have used the 
next whitout success:
layer->setfilter("CAMPO='$var'");

Didn't give me error, just the picture is empty


Thank you

Patricio