<?php
mysql_connect("localhost","root","");
mysql_select_db("univ_management");
?>
this is the following block of the code
Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\ums4\db_con.php:2 Stack trace: #0 C:\xampp\htdocs\ums4\action.php(10): include_once() #1 {main} thrown in C:\xampp\htdocs\ums4\db_con.php on line 2