BrokenDreams Posted May 29, 2016 Posted May 29, 2016 so its been nearly 3 years since i did any work on a site and having a problem as all the new php and connection type so need some guidence <?php $mysql_server = "info"; $mysql_user = "info"; $mysql_password = "info"; $mysql_database = "info"; $connection = mysql_connect("$mysql_server","$mysql_user","$mysql_password") or die ("UPDATING"); $db = mysql_select_db("$mysql_database") or die ("Unable to select requested database."); ?> mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/sitename/public_html/includes/db_connect.php on line 8 Quote
BrokenDreams Posted May 29, 2016 Author Posted May 29, 2016 as you can see its the very old version and its been deprecated Quote
Dominion Posted May 29, 2016 Posted May 29, 2016 All the mysql_ extension stuff will give this warning now. Newer versions of php won't have them in at all. If you want any kind of longevity you need to rewrite the code. I doubt MCC will be putting out an update for any of there versions. Quote
Magictallguy Posted May 30, 2016 Posted May 30, 2016 I don't think this is MCC. MCC has mysqli Lite/v1 doesn't. I'm offering a conversion service with your choice of either MySQLi or PDO (preferred). I charge $5 an hour (negotiable), I use Toggl to track all time whilst coding, and a small file that shows you to-the-second tracked time. Short report (basic detail (time tracked, cost)) Detailed report contains each time tracked - will only show for whichever "workspace" I've used (to track specifically your time) 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.