On a remote server there is no problem, but in localhost (xampp 3.1.) I cannot turn off reporting notices.
>
Write this code in start of your file.
ini_set('display_errors', 0);
error_reporting(E_ERROR | E_WARNING | E_PARSE);
Edit1
If you did not want to use above lines then you have to write @
before $_POST
to suppress notices, like
$Fname = @$_POST["Fname"];
Edit 2
With this line error_reporting = E_ALL & ~E_NOTICE
also change display_errors = Off
although its bad programming practices.