mysql_connect is deprecated
dwlsalmeida opened this issue · 3 comments
dwlsalmeida commented
mysql_connect has been deprecated since PHP 5.5. Please switch to PDO or mysqli
Mateusresende commented
Good Morning!
I put resepresent.la on the server with PHP 7. It didn't work. Do you have any indication for me to know what to do? Or some other alternative?
We are looking to set up an agrotechnology startup network.
Which is very important for Brazil.
Mateusresende commented
How to switch to PDO or mysqli ?
dwlsalmeida commented
Hello fellow countryman.
Replace the mysql_connect calls with their mysqli equivalents.
Shouldn't be too hard if you read up a bit on the documentation first.
Using PDO requires a bit of a rewrite but also nothing major.