Changing from mysql to mysqli code error

前端 未结 2 775
滥情空心
滥情空心 2021-01-14 19:56

I\'m changing over a lot of files from mysql to mysqli. I\'m using this to do it: https://wikis.oracle.com/display/mysql/Converting+to+MySQLi

My connect file (I\'ve

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-14 20:23

    You forgot a semicolon:

    $conn=($GLOBALS["___mysqli_ston"] = mysqli_connect("$localhost",  "$dbusername",  "$dbpass")); //<--- 
    

提交回复
热议问题