Deprecated: mysql_connect()

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

    If you have done your coding then

    ini_set("error_reporting", E_ALL & ~E_DEPRECATED); 
    

    is good option but if you are in beginning then definitely you should use mysqli.

提交回复
热议问题