I got this error message, when I try to connect database in my web page.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C://xampp/htdocs/hote/functions.php:26
Stack trace: #0 C:xampp/htdocs/menu_header.php(30): db_connect(‘localhost’, ‘root’, ‘ ‘, ‘hotelmis’, 3306)
#1 C://xampp/htdocs/index.php(182): require_once(‘C:\xampp\htdocs…’)
#2 {main} thrown in C://xampp/htdocs/hotel/functions.php on line 26
It show this error
Question and answer is powered by AnsPress.io