mysql_query("SET character_set_connection=utf8, character_set_results=utf8, character_set_client=binary", $SESS_DBH);
1 回答
慕田峪7331174
TA贡献1828条经验 获得超13个赞
数据库连接,用于告诉mysql_query函数使用哪个mysql连接执行sql语句。
官方文档中的描述:The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect() is assumed. If no such link is found, it will try to create one as if mysql_connect() had been called with no arguments. If no connection is found or established, an E_WARNING level error is generated.
添加回答
举报
0/150
提交
取消