php mysql to mysqli
作者:
akka9 | 来源:发表于
2018-08-18 01:06 被阅读0次mysql_select_db($db,$con); ==> mysqli_select_db($con,$db);
sed -i -e 's/mysql_fetch_array/mysqli_fetch_array/g' `find . -name '*.php'`
sed -i -e 's/mysql_query(/mysqli_query(\$con,/g' `find . -name '*.php'`
sed -i -e 's/mysql_close(/mysqli_close(\$con/g' `find . -name '*.php'`
sed -i -e 's/mysql_affected_rows(/mysqli_affected_rows(\$con,/g' `find . -name '*.php'`
本文标题:php mysql to mysqli
本文链接:https://www.haomeiwen.com/subject/iwexiftx.html
网友评论