If you do not want the following situation to occur in the PHP page:
Single quotes are escaped as /'
Double quotes are escaped as /"
Then you can make the following settings to prevent:
Method 1: Set in php.ini: magic_quotes_gpc = Off
Method 2: $str=stripcslashes($str)
The above introduces the use of double quotes in PHP to prevent single quotes. Double quotes are escaped on the acceptance page, including the content of double quotes. I hope it will be helpful to friends who are interested in PHP tutorials.