There is a requirement that a script be submitted to the database in the background form and taken out of the database to be run directly by the foot instinct. The script must have some special characters, such as single quotes. Addslashes This method seems to be able to handle, but not only submitted to the form, but also frequently updated, that is, from the database in the removal, modification, after the submission of updates. There seems to be a problem with using the Addslashes method. In addition, it seems that different versions of PHP or database settings may not be valid for this method. How do you solve this problem perfectly?
Reply content:
There is a requirement that a script be submitted to the database in the background form and taken out of the database to be run directly by the foot instinct. The script must have some special characters, such as single quotes. Addslashes This method seems to be able to handle, but not only submitted to the form, but also frequently updated, that is, from the database in the removal, modification, after the submission of updates. There seems to be a problem with using the Addslashes method. In addition, it seems that different versions of PHP or database settings may not be valid for this method. How do you solve this problem perfectly?