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.
以下由GOOGLE自动翻译
mysql_query()不能用于语句包含二进制数据,你必须使用mysql_real_query()代替。 (二进制数据可能包含“\ 0”的性质,这mysql_query()作为字符串结束的声明解释。)此外,mysql_real_query()比快mysql_query(),因为它不调用strlen()来对语句字符串。
相关文章
- localhost和127.0.0.1有什么区别?
- 牛客网Java刷题知识点之什么是cookie、什么是session、cookie和session有什么区别
- “/“和 “\“以及“//“和“\\“有什么区别?
- 80端口与8080端口是两种不同的端口吗?他们到底有什么区别和联系?
- wap页面和html5,WAP网站、3G网站、html5触屏版有什么区别?
- Application.CreateForm()和TForm.Create()创建的窗体有什么区别么?二者在使用上各有什么技巧?(50分)
- java 栈的isEmpty和empty有什么区别
- Transformer模型和RNN模型有什么区别
- linux 775和777权限有什么区别
- ${}和#{}有什么区别?