Mysqli Insert Query Error 2019: Resolved



You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax

Issue Resolved..!!

SUBSCRIBE MY CHANNEL

In MySQL, certain words like SELECT, INSERT, DELETE etc. are reserved words. Since they have a special meaning, MySQL treats it as a syntax error whenever you use them as a table name, column name, or other kind of identifier – unless you surround the identifier with backticks.

The Solution

You have two options.
1. Don’t use reserved words as identifier
2. Use backticks

Nguồn: https://cnsuk.net/

Xem thêm bài viết: https://cnsuk.net/category/cong-nghe

1 thought on “Mysqli Insert Query Error 2019: Resolved

Leave a Reply

Your email address will not be published. Required fields are marked *