[Mapserver-users] QueryByAttributes - Search Parcels By Owner
Name
Guillaume SUEUR
guillaume.sueur@khi2.fr
Fri, 24 Jan 2003 09:00:18 +0100
I guess I have a clue :
First you use $HTTP_FORM_VARS["OwnerName"] which exists since you fill
this array at the beginning of the code (from gmap).
But after that, you use $OwnerName which exists only if you declared it
as global at the beginning of your function. And I think you didn't.
So you can either declare $OwnerName as GLOBAL at the beginning of the
function, and use it in both places, either use
$HTTP_FORM_VARS["OwnerName"] to retrieve the value in the setfilter
expression.
Hope it helps
--
---------------------------
Guillaume SUEUR
Ingénieur développement SIG
KHI2 - BVA
25bis Avenue Marcel Dassault
31505 TOULOUSE CEDEX 5
----------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users