我得到这个异常
Uncaught exception 'PDOException' with message 'SQLSTATE[21S01]:
Insert value list does not match column list: 1136 Column count doesn't match
value count at row 1
使用此代码:
$stmt = $conn->prepare('INSERT INTO project VALUES(:category, :title, :name)');
$stmt->execute(array(
':category' => $_POST['category'],
':title' => $_POST['title'],
':name' => $_POST['name']
));
错误信息是什么意思?