The SQL statement was written before: INSERT into tablename SET a = ': a ', B = ': B ', C = ': C ', d =:d, E =: E$data = array([': a '] = 1,[': B '] = 2,[': C '] = 3,[':d '] = 4,[': E '] = 5,)$prepareResualt = $pdo->prepare
This is a big hazard. For cookies, you only need to get the account + MD5 password, and then ......Http://tuchong.com/settings/Registered configuration here: Insert in the tag:A> ; Save. My homepage is triggered \ (^ o ^ )/~Http://tuchong.com/272288
This section describes how to pre-compile php5.1. * And php5.2. * in the database.
Code There are differences during execution. Advantages of pre-Compilation
1. Use placeholders to avoid entering data in SQL words. Automatically handle escape of
Introduced
Today, php5.1.* and php5.2.* are found to be different when the database precompiled code executes.
Pre-compiling benefits
1. Use placeholders to avoid entering data verbatim into SQL. Automatically handles the escape of characters such
Introduced
Today, php5.1.* and php5.2.* are found to be different when the database precompiled code executes.
Pre-compilation Benefits
1. Use placeholders to avoid literal input of data into SQL. Automatically handles the escaping of characters
Summary of differences between the PDO database operations of PHP between 5.1.* and 5.2. This section describes the differences between php5.1. * and php5.2. * during Database pre-compiled code execution. Precompilation advantages 1. use
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.