为什么查询发送输出“输入结束符在字符0处”?

时间:2019-12-03 03:43:19

标签: php mysql

我对此查询有疑问,我错了吗?

require_once 'connect.php';
$sql = "INSERT INTO gancii(pengirim,harga,file,file2,ukuran,laminasi,jenis,jumlah,merchant,status)VALUES('pengirim','1000','file1','file2','ukuran','laminasi','jenis',jumlah','merchant','order')";
if(mysqli_query($conn, $sql)){
    $result['success'] = "1";
    echo json_encode($result);
    mysqli_close($conn);
}

这是我的数据库:

Database

0 个答案:

没有答案