You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 预编译生成一个Prepare Statement
PREPARE stmt1 FROM'SELECT * FROM table_a WHERE field_str = ? AND id = ?';
// 然后使用参数去调用
set @a ='random str';
set @b =4;
EXECUTE stmt1 USING @a, @b;
// 预编译了一个已经完成SQL注入的SQL
PREPARE stmt1 FROM"SELECT * FROM table_a WHERE field_str = 'random str' AND id = ?";
// 然后使用参数去调用
set @b =4;
EXECUTE stmt1 USING @b;
Your Question
The document you expected this should be explained
Expected answer
The text was updated successfully, but these errors were encountered: