Vô tình đi ngang qua 2 website bán sách online và tình cờ phát hiện 3 lỗi này không biết thâm nhập như thế nào.Mọi người giúp mình nha
1 Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1
2/Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\' at line 1' in /home3/veanndes/public_html/reviews/book.php:19 Stack trace: #0 /home3/veanndes/public_html/reviews/book.php(19): PDOStatement->execute() #1 {main} thrown in /home3/veanndes/public_html/reviews/book.php on line 19
3/Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\' ORDER BY id ASC' at line 1