A
A
Amigo20192020-01-22 18:16:31
xampp
Amigo2019, 2020-01-22 18:16:31

Site won't start in xampp, what's the problem?

Good evening!
On localhost/addressbook
Gives 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");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Tallmange, 2020-01-22
@Amigo2019

Call to undefined function mysql_connect()
Your PHP without mysql support

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question