[Mapserver-users] QueryByAttributes - Search Parcels By Owner Name
Guillaume SUEUR
guillaume.sueur at khi2.fr
Fri Jan 24 00:00:18 PST 2003
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
----------------------------
More information about the MapServer-users
mailing list