That should fix it. The problem is that MapServer strings must start with a alpha character. Otherwise they must be quoted.
Steve >>> On 12/1/2008 at 9:04 AM, in message <[EMAIL PROTECTED]>, Yewondwossen Assefa <[EMAIL PROTECTED]> wrote: > Can you try something like $oClass->setExpression('"3NA"') > > Later, > > Géo Sphère wrote: >> Hello ! >> >> I use PHP Mapscript (MapServer 5.0.2). >> >> I do $oClass->setExpression("3NA"), then i save the mapfile. >> The expression saved in the mapfile is "3" >> >> Any idea ? >> >> Thanks >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users