Deprecated: mysql_connect()

前端 未结 15 1502
醉酒成梦
醉酒成梦 2020-11-22 06:55

I am getting this warning, but the program still runs correctly.

The MySQL code is showing me a message in PHP:

Deprecated: mysql_connect(): T

15条回答
  •  天命终不由人
    2020-11-22 07:46

    mysql_*, is officially deprecated as of PHP v5.5.0 and will be removed in the future.

    Use mysqli_* function or pdo

    Read Oracle Converting to MySQLi

提交回复
热议问题