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

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

WBOY
Release: 2016-06-13 12:35:21
Original
839 people have browsed it

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

thinkphp 取得id
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template