Home >Backend Development >PHP Tutorial >在去mysql中插入记录时怎样获得这条记录的id值

在去mysql中插入记录时怎样获得这条记录的id值

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:45:02972browse

在往mysql中插入记录时怎样获得这条记录的id值
在往mysql中插入记录时怎样获得这条记录的id值
  我想要的效果是怎样的在插入记录的时候  有一个字段的值要和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