Deprecated: mysql_connect()

前端 未结 15 1354
醉酒成梦
醉酒成梦 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:39

    That is because you are using PHP 5.5 or your webserver would have been upgraded to 5.5.0.

    The mysql_* functions has been deprecated as of 5.5.0

    enter image description here

    Source

提交回复
热议问题