error in first line code during creating a table in MySQL I created a table but there is an exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order ( id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, mod' at line 1
$newTable = "CREATE TABLE order (
id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
modelname VARCHAR(300),
price INT(6),
client VARCHAR(300),
address VARCHAR(300),
reg_date TIMESTAMP
)";
$conn->query($newTable);