<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear all,<br><br>I have done comprehensive search and reading on how to use the querybyAttributes php mapscript function to evaluate a logical expression. It looks to me no one seems to find a solution to the errors that&nbsp; come up. The problem is that there are so many suggestions on the syntax. Please, please, can someone do all of us a favour and explain to us what exactly is the right and working way to use the querybyAttribute (I am&nbsp; using GM 2- does it matter). Here is a sample of how I am using it and I have tried a thousand different combinations of code. Please what is wrong so we (the geomoose users) can move on.<br><br>Thanks a million.<br><br>Franz Okyere<br><br>Lecturer/GIS Specialist<br>                                               <br /><hr />Beyond Hotmail - see what else you can do with Windows Live. <a href='http://clk.atdmt.com/UKM/go/134665375/direct/01/' target='_new'>Find out more.</a></body>
</html>