All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
asp.net2.0网站语法之ASP.NET 2.0服务器语法
详解网页制作中使用的HTML常用标记_[Html教程]
使用PHP的Socket写的POP3类_php资料_编程技术
SQL Server两种修改对象所有者的方法_[SQL Server教程]
温故知新ASP.NET,2.0(C#)系列文章索引_[Asp.Net教程]
WEB标准时页面自适应的解决方案_[Html教程]
PHP实例:用PHP实现XML备份Mysql数据库_[PHP教程]
简单学习动态网页制作PHP中的Cookies_php资料_编程技术
PHP自带可以代替echo调试的unit函数_php资料_编程技术
ASP.NET,2.0中的Web和HTML服务器控件_[Asp.Net教程]
Reading number is top 10 pictures
两张抽象画
The money of more than 100 countries and regions8
采访谢楠
Female model behind the bitterness, often being overcharged3
鸡也看毛片
A man's favorite things10
Group of female porn in 《westwards》, uninhibited woman threatened to not the bottom line1
10 powerless things in life
联通的3G无线网卡我只用了一天,看看流量......
In the world the most mysterious 21 place landscape1
Download software ranking
Tram sex maniac 2 (H) rar bag11
Boxer's Top ten classic battle3
linux安装大全
天龙八部最新服务端
Unix video tutorial12
Such love down(擒爱记)
Boxer's Top ten classic battle1
Proficient in JavaScript
Tram sex maniac 2 (H) rar bag19
Proficient in Eclipse
aaa published in(发表于) 2013/12/21 22:25:21 Edit(编辑)
PHP取得当前插入数据库中记录的id值_php资料_编程技术

PHP取得当前插入数据库中记录的id值_php资料_编程技术

PHP取得当前插入数据库中记录的id值_php资料_编程技术-你的首页-uuhomepage.com

在PHP中,经常需要把插入数据库中的id值取出来,而正好有这么一个函数:

//执行插入数据库的语句
//……
$getID=mysql_insert_id();//$getID即为最后一条记录的ID
?>

PHP 函数 mysql_insert_id() 是返回在最后一次执行了 INSERT 查询后,由 AUTO_INCREMENT 定义的字段的值。




添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.