摘要: $result = array( 'id'=>null, 'val'=>0);$row1 = Yii::app()->db->createCommand()->insert('test1', $result);$id = Yii::app()->db->getLastInsertID...阅读全文
posted @ 2015-05-19 09:58 透明白 阅读(1275) 评论(0) 编辑