Database: connect.php: <?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "tutor_db"; // Create connection $con = mysqli_connect($servername, $username, $password, $dbname); // Check connection if (!$con) { die("Connection failed: " . mysqli_connect_error()); } ?> registration.php: <?php include 'connect.php'; error_reporting(0); $emp_name=$_POST["name"]; $emp_age=$_POST["username"]; $idcard=$_POST["password"]; $fname=$_POST["category"]; $sub=$_POST["subject"]; $phone=$_POST["phone"]; $email=$_POST["email"]; $msg = ''; if($_SERVER['REQUEST_METHOD']=='POST'){ $image = $_FILES['image']['tmp_name']; $img = file_get_contents($image); $con = mysqli_connect('localhost','root','','tutor_db') or die('...