[mapguide-users] Layer Query

Dhirendra Kumar dhirendra.mgos at gmail.com
Fri Mar 23 03:57:23 EDT 2007


Hi All,

I am devloping Election GIS Application and when i want to retrive some
booth's, where  electoral number is less than 1000 then query return less
than 1000 and greater than 1000 also. I am passing query values from another
two text box. So, My Query Syntex is :-

$operator	= trim($_GET['Operator']);    // suppose i am pasing operator like
>, <, =
$values	= trim($_GET['values']);       // suppose i am passin values 800,
900,1200

$filter = "ELECTORAL   $operator   '" . $values . "'";   //   ELECTORAL <
'900'

and filter using syntex:-
$queryOptions->SetFilter($filter);

can any one help me what a actual problem here ? and whay i am not getting
proper result ?.
waiting.....................................................................

Thankyou in Advance
Dhirendra Kumar
-- 
View this message in context: http://www.nabble.com/Layer-Query-tf3452340s16610.html#a9630189
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list