php7 and mysql extension

This question already has an answer here:

  • Why shouldn't I use mysql_* functions in PHP? 14 answers

  • Call to undefined function mysql_connect

    The mysql_ library was deprecated years ago. It has been removed entirely in PHP 7.

    Use a modern replacement such as PDO or mysqli_ .


    你需要使用mysqli_*函数,而不是mysql_*

    链接地址: http://www.djcxy.com/p/26596.html

    上一篇: 如何知道一个字符串以jQuery中的特定字符串开始/结束?

    下一篇: php7和mysql扩展