Is this a question?
You'll have up to 8 errors in this script on a non-post run. This line will always trigger:
<form method="post" action="<?php echo $PHP_SELF;?>">
as there is no variable $PHP_SELF unless you have register_globals enabled. These have been disabled by default since 4.2, and removed as of 5.4.
Every one of these will throw an error guaranteed on non-post of the script:
$Fname = $_POST["Fname"];
$Lname = $_POST["Lname"];
$gender = $_POST["gender"];
$food = $_POST["food"];
$quote = $_POST["quote"];
$education = $_POST["education"];
$TofD = $_POST["TofD"];
You cannot extract from an offset that doesn't exist. Make sure each exists first, and then proceed.
if (isset($_POST['Fname'], $_POST['Lname'], $_POST['gender'], ...))
// processing instructions here.