Php + mysql how to save content without escaping the original
Source: Internet
Author: User
Php + mysql how to save content without escaping original content this post was last edited by ycyuyuan from 2013-12-1020:48:07 I do not know if php + mysql can save or update records in the database without using SQL., if you want to use SQL, consider saving the content with special characters or SQL injection by escaping. ask php + mysql how to save the content without escaping it as it is.
At the end of this post, ycyuyuan edited at 20:48:07 on November 10,. I do not know if SQL can be used to save or update records in the database in php + mysql, if you want to use SQL, you need to escape and save the content with special characters or SQL injection. if you want to use SQL, do you need to save the content without escaping as is (there is no SQL injection vulnerability at the same time)
Items that need to be saved as they are:
For example, to save a long random key
Save a code snippet
Save the php file to the database
Save your own technical articles
Save news ...... Share: More
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.