Home >Backend Development >PHP Tutorial > thinkphp写入一条数据,同时取得这条数据的ID,该怎么解决

thinkphp写入一条数据,同时取得这条数据的ID,该怎么解决

WBOY
WBOYOriginal
2016-06-13 12:35:21838browse

thinkphp写入一条数据,同时取得这条数据的ID
thinkphp写入一条数据,同时取得这条数据的ID,怎么做?做的话一般都是根据ID查询,或者模糊查询。怎样取得写入的那条数据的id? 

thinkphp 取得id
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