Re: quotemeta() question...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux