Deprecated: mysql_connect()

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

    Adding a @ works for me!

    I tested with error_reporting(E_ALL ^ E_DEPRECATED);

提交回复
热议问题