CREATE TABLE book_202151005 (
no INT(10) null AUTO_INCREMENT PRIMARY KEY,
bookname VARCHAR(30) NULL,
writer VARCHAR(30) NULL,
company VARCHAR(30),
year VARCHAR(30),
num VARCHAR(30)
)insert into book_202151005 (bookname, writer, company,
year, num) values ('PHP로 작성하는 웹 프로그래밍 기초', '오윤상',
'기한재', '2019', '9788970187938'),
('불편한 편의점', '김호연',
'나무옆의자', '2021', '9791161571188')
Fatal error: Uncaught TypeError: mysqli_query(): Argument #3 ($result_mode) must be of type int, string given in /users/2021/i2151005/public_html/2022/WebDB/test/create.php:18
Stack trace:
#0 /users/2021/i2151005/public_html/2022/WebDB/test/create.php(18): mysqli_query()
#1 {main}
thrown in /users/2021/i2151005/public_html/2022/WebDB/test/create.php on line 18