All Tags »
php regular exp... »
preg_replace
Sorry, but there are no more tags available to filter with.
-
Hello!
I am using PHP and preg_replace. I have output from an XSL transformation that I would like to insert into a mysql database. I would like to construct a regular expression that escapes single and double quotes. My data set looks like this:
<escape>Welcome to Barbara's ...