Home  >  Article  >  Backend Development  >  Yii2 createCommand()原生语句插入遇到一个小问题

Yii2 createCommand()原生语句插入遇到一个小问题

WBOY
WBOYOriginal
2016-07-06 13:51:481284browse

用createCommand()里面写原生插入数据的语句,插入完成后老是在最开始的地方生成一行多余的空白数据,后面数据就正常了
不知道为啥。。。Yii2  createCommand()原生语句插入遇到一个小问题

回复内容:

用createCommand()里面写原生插入数据的语句,插入完成后老是在最开始的地方生成一行多余的空白数据,后面数据就正常了
不知道为啥。。。Yii2  createCommand()原生语句插入遇到一个小问题

麻烦把你PHP部分的代码贴上来,另外你这个应该是测试数据,打码做什么

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn