PHP create table error 1064

前端 未结 5 2037
北恋
北恋 2020-12-22 06:18

I am trying to create a table in mySQL. This is my php page below, when I run the page there are no errors but the table is not in mySQL and when I test the code in mySQL I\

5条回答
  •  攒了一身酷
    2020-12-22 06:38

    Do not use any reserved words for column names. You need to change the column name int1 and int2 as they are reserved words. For more reserved words please see the link provided by @Alex Vogt.

提交回复
热议问题