Hello,

I am trying to launch a query on a WFS layer.
The query is :
$oLayer->queryByAttributes($m_Champs, "\"".stripslashes($m_Requete)."\"", 
MS_MULTIPLE );
with $m_Champs : gid
$m_Requete : upper(gid) = upper(\'140\')

Whereas there is one record matching, mapserver can't find it : No matching 
record(s) found.

I obtain the same result with $m_Requete : gid = '140', or gid = 140, or gid = 
\'140\'

But if $m_Requete is equals to 140, then mapserver returns the element.

Any idea?

Thanks,

-- 
Charlotte DECLERCQ

ALKANTE SAS
Ingénieur R&D SIG
1, rue du Chêne Morand
35 510 Cesson-Sévigné
Bur: + 33 (0) 2 99 22 25 70
fax : + 33 (0) 2 99 32 12 76


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to