<?php require_once('../auth/auth.php');
if (isset($_POST['ins_remark'])) {
    $ins_remark     =    $_POST['ins_remark'];
    $next_ins_date  =    $_POST['next_ins_date'];
    $insidinsid     =    $_POST['insid'];

    mysqli_query($conn,"INSERT INTO ins_chat (`insid`,`comments`, `subdate`, `date`) VALUES ('$insidinsid','$ins_remark','$next_ins_date','$date')")or die(mysqli_error($conn));

  }       
?>