1.テーブル id:int(11),Autoincrement name:varchar(255) DEFAULT NULL, email:varchar(255) DEFAULT NULL, password:varchar(255) DEFAULT NULL, 2.プログラム getMessage()); exit; } $stmt = $dbh->prepare("insert into users (name,email,password) values (:name,:email,:password)"); $stmt->execute(array(":name"=>"n2",":email"=>"e2",":password"=>"p2")); echo "done"; // 切断 $dbh = null; ?> 3.1度実行したときのデータ (`id`, `name`, `email`, `password`) (1, 'n2', 'e2', 'p2'), (2, 'n2', 'e2', 'p2');