php - setexpression

Dieter Lehmann lehmann at fh-nuertingen.de
Tue Jan 16 14:17:28 EST 2001


Hi,
Berend gave me the right way to go - thanks for that! - but still I have one
more question....

Is the function like in the map-file 

$poClass->setExpression('[NAME]" == "Test");

not available? I ask, because that would be great to change things comming out
of mysql (to set for NAME a variable and for the string a variable...)

Is it possible to negate an search, like:

$poClass->setExpression("[NAME]" != "Test");

Thanks.

Dieter


> Maybe this works, note the escaped quotes:
> $poClass->setExpression ("\"8125048\"");
> 
> Berend

___________________________________
Dieter Lehmann 
University of applied Sciences
Schelmenwasen 4-8
D-72622 Nuertingen, Germany
lehmann at fh-nuertingen.de
Phone: +49 (0) 7022 404 Ext. 192 or Ext. 152
Fax: +49 (0) 7022 404 Ext. 166




More information about the mapserver-users mailing list