pdo查询分两种
1.query
适合 create update insert delete
其中 insert 可以通过lastinsertid活动 最后插入id
2.exec
exec适合插入语句
$pdf->beginTransaciton()
$pdo->commit();
posted on 2017-01-26 11:03 php超超 阅读(145) 评论(0) 编辑 收藏 举报