Record Insert Success or Unsuccessful message
Thank you so so much.
Now putting all together I should get this right
<?php
if ($_SERVER["REQUEST_METHOD"] === "POST") {
$InsertQuery = new WA_MySQLi_Query($SFT);
$InsertQuery->Action = "insert";
$InsertQuery->Table = "findings";
$InsertQuery->bindColumn("indg_id", "i", "".((isset($_POST["indg_id"]))?$_POST["indg_id"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("ind_id", "i", "".((isset($_POST["ind_id"]))?$_POST["ind_id"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("question", "s", "".((isset($_POST["question"]))?$_POST["question"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("findings", "s", "".((isset($_POST["findings"]))?$_POST["findings"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("conclusion", "s", "".((isset($_POST["conclusion"]))?$_POST["conclusion"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("recomdns", "s", "".((isset($_POST["recomdns"]))?$_POST["recomdns"]:"") ."", "WA_DEFAULT");
$InsertQuery->bindColumn("addedby", "s", "".((isset($_POST["addedby"]))?$_POST["addedby"]:"") ."", "WA_DEFAULT");
$InsertQuery->saveInSession("fin_id");
$InsertQuery->execute();
$InsertGoTo = "dli?success";
if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):"";
$InsertQuery->redirect($InsertGoTo);
}
?>
<?php
if (isset($_GET["success"])) {
?>
Success Message Here
<?php
}
?>