What does depecreated mean?
I kept getting that mysql script was deprecated. I did some research and found out that i needed to change the scripts to read as follows.
// Run the actual connection here
mysqliconnect(“$dbhost”,“$dbusername”,“$dbpass”) or die (“could not connect to mysql”);
mysqliselectdb(“$db_name”) or die (“no database”);
But I keep getting this when i try to access the page on chrome.
Warning: mysqliselectdb() expects exactly 2 parameters, 1 given in /var/www/html/storescripts/connecttomysql.php on line 20
Can someone enlighten me.