menu

arrow_back Site does not start in xampp,what's the problem?

by
1 vote
Good evening!
On localhost/addressbook
Gives an error Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\addressbook\include\dbconnect.php:45 Stack trace: #0 C:\xampp\htdocs\addressbook\index.php(2): include() #1 {main} thrown in C:\xampp\htdocs\addressbook\include\dbconnect.php on line 45
45 line
$db = mysql_connect("$dbserver", "$dbuser", "$dbpass");

1 Answer

by
 
Best answer
0 votes
Call to undefined function mysql_connect()
Your PHP without mysql support