[Mapserver-users] querybyattributes and mapserver4.0 with php_mapscript

fx gamoy fx.gamoy at mapxplore.com
Tue Dec 2 07:12:31 EST 2003


C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_0014_01C3B8CD.900F8AD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello
i am trying to enable querybyattributes using mapserver4.0

I would like to filter the field IDDG with the Value AB32
I am sur there is only one result
i have tried several things
$oLayer->querybyattributes("IDDG","AB32",MS_SINGLE);
What is the right way to write the query
thanks
fx

------=_NextPart_000_0014_01C3B8CD.900F8AD0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i am trying to enable querybyattributes =
using=20
mapserver4.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I would like to filter the field IDDG =
with the=20
Value AB32</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am sur there is only one =
result</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i have tried several =
things</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>$oLayer-&gt;querybyattributes("IDDG","AB32",MS_SINGLE);</FONT></=
DIV>
<DIV><FONT face=3DArial size=3D2>What is the right way to write the=20
query</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>fx</FONT></DIV></BODY></HTML>

------=_NextPart_000_0014_01C3B8CD.900F8AD0--




More information about the mapserver-users mailing list