i am very new to stackoverflow so please let me know if i need to provide more information.
My issue started earlier today when i tried i enter this code ALTER TABLE tbl_name CONVERT TO CHARACTER SET charset_name; in the SQL QUERY.
After that all pages which is connected to my dbc.php get this error in return: Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /customers/1/b/3/fomo.no/httpd.www/dbc.php:9 Stack trace: #0 {main} thrown in /customers/1/b/3/fomo.no/httpd.www/dbc.php on line 9
My dbc code where the error msg is telling me the error is(line 9) i use the MSQL connection code:
line9 $link = mysql_connect(DB_HOST, DB_USER, DB_PASS) or die("Couldn't make connection.");
line10 $db = mysql_select_db(DB_NAME, $link) or die("Couldn't select database");
I use PHPmyadmin through one.com. I have been searching for a while and i cant find the solution anyware.
As said, i am very new please tell me if i need to provide more information. Thank you for your time and your help.