mysql_query()与mysql_real_query()

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. 

 

posted @ 2016-01-18 10:04  zzyoucan  阅读(2033)  评论(0编辑  收藏  举报