Hi I am facing some issues in the below code. Records are not getting inserted into the database. Could anyone please look into this code and help me out. I am using wamp server for doing it in my local machine. Records are not getting inserted when I opened PHPMyAdmin tool.
<!DOCTYPE html>
<html>
<head>
    <title>New Album Creation</title>
    <link rel="stylesheet" href="style5.css">
</head>
<body>
<a href="welcome.php"><b> Go Back</b> </a>
<h1>Welcome to create New Album </h1>
<fieldset>
<legend>Create new album</legend>
<form action="createalbum.php" method="post">
    <table style="margin: 10px 10px 10px 10px;">
        <tr><td>Title</td>
            <td><input id="title" type="text" name="title"/></td><</tr>
        <tr><td>Album Name</td>
             <td><input id="albumname" type="text" name="albumname"/></td></tr>
        <tr><td>Artist</td>
           <td><input id="artist" type="text" name="artist"/></td></tr>
        <tr><td>Language</td>
          <td><input id="language" type="text" name="language"/></td></tr>
        <tr><td></td>
            <td colspan="2" align="center"><input type="submit" id="btnSubmit" name="Submit" value="Submit"/></td></tr>
    </table>
</form> 
</fieldset>
<?php
//require_once('process.php');
    if (isset($_POST["btnSubmit"]))
    {  
         $servername ="localhost";
         $username = "root";
         $password = "";
         $databasename="musicstoredb";
         $conn = new mysqli($servername,$username,$password,$databasename,"3308") or die("Connection Failed");
         echo "Connection granted";
         $title=$_REQUEST["title"];
         $album_name=$_REQUEST["albumname"];
         $artist =$_REQUEST["artist"];
         $language =$_REQUEST["language"]; 
         $query = "INSERT into album(Title,Album_Name,Artist,Language)values('$title','$album_name','$artist','$language')";
         $result=mysqli_query($conn,$query) or die ("Error in inserting records");
         if($result >0)
         {
           echo "Album created successfully";
           echo "<a href ='index.php'>Home</a>";
          }
     }
?>
</body>
</html>
 
     
    