Re: quotemeta() question...
| From: | Chris | Date: | Fri, 11 Feb 2005 04:58:24 +0000 |
| Subject: | Re: quotemeta() question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208513@lists.php.net to get a copy of this message | ||
Because it's parsing $WRW as a string, because of the double quotes. so you would need to do it like this:
quotemeta('pat:1$WRW')
to not let it parse any variables
or
quotemeta("pat:1\$WRW")
to not parse that particular variable
Steve Kaufman wrote:
Why doesquotemeta("pat:1$WRW")returnpat:1instead ofpat:1\$WRWWhat am I misunderstanding about quotemeta function?