首页 > 数据库技术 > 详细

mysql_query()与mysql_real_query()

时间:2016-01-18 10:26:47      阅读:348      评论:0      收藏:0      [点我收藏+]
mysql_query() cannot be used for statements that contain binary data; you must use mysql_real_query() instead. (Binary data may contain the “\0” character, which mysql_query() interprets as the end of the statement string.) In addition, mysql_real_query() is faster than mysql_query() because it does not call strlen() on the statement string. 

 

mysql_query()与mysql_real_query()

原文:http://www.cnblogs.com/zzyoucan/p/5138424.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!