<?php include "lib/dataprocess.php"; $dataprocess = new DataProcess(); $dataprocess->settings(); $id = $dataprocess->feedback($_POST); $dataprocess->sendfeedback($_POST, $id); header('Location:entry.php?msg=Successfully save !!!');