Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in /usr/home/httpd/html/ncnpsotwp/plantsale/mysqldb.obj on line 156

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/home/httpd/html/ncnpsotwp/plantsale/mysqldb.obj:125 Stack trace: #0 /usr/home/httpd/html/ncnpsotwp/plantsale/mysqldb.obj(161): mysqldb->opendbconnection() #1 /usr/home/httpd/html/ncnpsotwp/plantsale/index.php(14): mysqldb->selectquery() #2 {main} thrown in /usr/home/httpd/html/ncnpsotwp/plantsale/mysqldb.obj on line 125