SetFilter with special characters...

Warren Medernach warren.medernach at imaginit.ca
Thu Jun 22 17:33:26 EDT 2006


Hello all,
 
I'm running into some grief with trying to set a filter for values that
contain special characters, specifically the ampersand character.
 
ie.
 
($rest = 'A & W')
 
$opts->SetFilter("REST_NAME = '$rest");

I have tried 'escaping' it, substituting it with "&" and not having
much luck.
Any help is greatly appreciated.
 
Thanks so much
 
Warren Medernach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060622/266d96ef/attachment.html


More information about the Mapguide_users mailing list