when I use postman agent to pass the data into the database it prompt error in the code but I cant figure out what is the error
insert1.php
<?php
    $CN=mysql_connect("localhost","root","");
    $DB=mysqli_select_db($CN,"iostest");
    
    $name=$_POST['name'];
    $email=$_POST['email'];
    $password=$_POST['password']
    
    $IQ="insert into scan(name,email,password) values('$name','$email','$password')";
    
    $R=mysql_query($CN,$IQ);
    
    if($R)
    {
        $Message="succeddful"
    }
    else
    {
        $Message="error"
    }
    
    echo($Message);
?>
the error: Parse error: syntax error, unexpected variable "$IQ" in D:\xammp\htdocs\api\insert1.php on line 9
in this line
$IQ="insert into scan(name,email,password) values('$name','$email','$password')";
 
     
     
     
    