PHP MYSQL - Insert into without using column names but with autoincrement field

前端 未结 4 1862
無奈伤痛
無奈伤痛 2020-12-01 07:04

I need to insert a long row with 32 fields into a MySQL table.

I\'d like to do something like this:

$sql=\"insert into tblname values (... 32 fields          


        
4条回答
  •  时光取名叫无心
    2020-12-01 07:43

    We should omit any column values when we try without column name in insert query,

    Advise if above information is wrong.

提交回复
热议问题