mysql_query() cannot be used for statements that contain binary data; you must use mysql_real_query() instead. (Binary data may contain the “ ” 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() 不能传二进制BLOB字段,因为二进制信息中的 会被误判为语句结束, mysql_real_query() 则可以
相关热门文章
给主人留下些什么吧!~~
评论热议