I am trying to do a connection with XAMPP and sql server. but when ever I try to enter data or connect to the database, I get this error.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\Maxipak\process.php:3 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Maxipak\process.php on line 3
My code on line 3 looks like this:
$conn = mysql_connect ("localhost","root","");