//Email table form
$dis1="
Noteid: $noteid
Title: $title
Note: $note
Dateof: $dateof
//CREATE CONFIRMATION REPORT WITH FORM OPTION
Noteid:
Title:
Note:
Dateof:
//CREATE POSTS
$javascriptenabled=$_POST["javascriptenabled"];
$noteid=$_POST["noteid"];
$title=$_POST["title"];
$note=$_POST["note"];
$dateof=$_POST["dateof"];
//CREATE READ FROM DATABASE RECORD
$noteid=$row["noteid"]; $noteid=ShortenString($noteid);
$title=$row["title"]; $title=ShortenString($title);
$note=$row["note"]; $note=ShortenString($note);
$dateof=$row["dateof"]; $dateof=ShortenString($dateof);
//CREATE HIDDEN FIELDS FOR POSTING
--- End Hidden Variable ----
value=""
value=""
value=""
value=""
--- End Form Variable VALUE Replacement ----
//CREATE SESSIONS FOR DATABASE RECORD
$noteid =$_SESSION["NOTEID"];
$title =$_SESSION["TITLE"];
$note =$_SESSION["NOTE"];
$dateof =$_SESSION["DATEOF"];
--- End SAVE Variables As SESSIONS ----
$noteid=$_POST["noteid"]; if($noteid!="")$_SESSION["NOTEID"]=$noteid;
$title=$_POST["title"]; if($title!="")$_SESSION["TITLE"]=$title;
$note=$_POST["note"]; if($note!="")$_SESSION["NOTE"]=$note;
$dateof=$_POST["dateof"]; if($dateof!="")$_SESSION["DATEOF"]=$dateof;
--- End CHECK Variable = NULL READ SESSION VARIABLE ----
$noteid=$_POST[noteid];if($noteid!='') $dis1.="$noteid
";
$title=$_POST[title];if($title!='') $dis1.="$title
";
$note=$_POST[note];if($note!='') $dis1.="$note
";
$dateof=$_POST[dateof];if($dateof!='') $dis1.="$dateof
";
--- IF POST Variable NOT EXISTS ADD TO REPORT ----
if($noteid!='') $dis1.="$noteid
";
if($title!='') $dis1.="$title
";
if($note!='') $dis1.="$note
";
if($dateof!='') $dis1.="$dateof
";
--- End IF Variable EXISTS ADD TO REPORT ----
$noteidtip="Tip Value";
$titletip="Tip Value";
$notetip="Tip Value";
$dateoftip="Tip Value";
--- End TIPS Variable TO FORM ----
?>