prepare($sqlnoti); $querynoti-> bindParam(':notiuser', $user, PDO::PARAM_STR); $querynoti-> bindParam(':notireciver', $notireciver, PDO::PARAM_STR); $querynoti-> bindParam(':notitype', $notitype, PDO::PARAM_STR); $querynoti->execute(); $sql="insert into feedback (sender, reciver, title,feedbackdata,attachment) values (:user,:reciver,:title,:description,:attachment)"; $query = $dbh->prepare($sql); $query-> bindParam(':user', $user, PDO::PARAM_STR); $query-> bindParam(':reciver', $reciver, PDO::PARAM_STR); $query-> bindParam(':title', $title, PDO::PARAM_STR); $query-> bindParam(':description', $description, PDO::PARAM_STR); $query-> bindParam(':attachment', $attachment, PDO::PARAM_STR); $query->execute(); $msg="Feedback Send"; } ?>