I am managing a website which is built a year or two back. The whole project is based on PHP and mysql
is used to connect to the databases. It was performing fine until recently it stopped working. I did some tweaking and found that there is some problem with the database connect file. I replaced the mysql_connect
with mysqli_connect
and some part of the website started working. Ofcourse, everything will not work since it is built on mysql syntax. Now, it is impossible for me to replace all the codes with mysqli syntax.
So is there a way to get the website working, keeping the mysql_connect in the database connect file. And what might be the reason of this issue?
Any help is appreciated Thanks.