wildcard characters in setExpression (php_mapscript)

Shashi Gireddy gireddy at GMAIL.COM
Tue Aug 2 11:52:20 EDT 2005


Thanks  alot Steve, Nicol.

$AG1->setexpression("([RDBD] =~ '/AG/')"); didn't work
but both 
 $AG1->setexpression("('[RDBD]' == 'AG')");
and $AG1->setexpression('[RDBD]' == 'AG');
are working fine.

Thank you,
shashi. 


On 8/1/05, Steve Lime <steve.lime at dnr.state.mn.us> wrote:
> Try one more set of quotes, like so:
> 
>  $AG1->setexpression("('[RDBD]' == 'AG')");
> 
> >>> Shashi Gireddy <gireddy at GMAIL.COM> 08/01/05 12:54 PM >>>
> Here is my setExpression in php_mapscript
> 
> $AG1->setexpression("([RDBD] == 'AG')");
> 
> Here AG inside the expression is a string, I tried all types of
> wildcards (PHP, c, Java) but it didn't respond to me, the output is
> just a blank image.
> 
> Help appreciated.
> thank you,
> shashil.
> 
> --
> Shashi Kiran Reddy. Gireddy,
> Graduate Assistant,
> CBER, University of Alabama.
> http://www.cs.ua.edu/shashi
> Cell: 205-239-6655
> 
> 


-- 
Shashi Kiran Reddy. Gireddy,
Graduate Assistant,
CBER, University of Alabama.
http://www.cs.ua.edu/shashi
Cell: 205-239-6655



More information about the mapserver-users mailing list