Re: quotemeta() question...

From: 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 does
         quotemeta("pat:1$WRW")
return
         pat:1
instead of
         pat:1\$WRW
What am I misunderstanding about quotemeta function?


« previous php.general (#208513) next »