First of all, there is no $POST['fontFamily']
variable in your form. Why are you trying to use it?
You should use $_POST['Question']
in order to get this value.
So it should be:
if (isset($_POST['Question']))
{
$menuVar = $_POST['Question'];
}
Also you should init $menuVar
if there's no $POST
in order not to get a Notice: Undefined variable $menuVar
. So in the end you code should be:
if (isset($_POST['Question']))
{
$menuVar = $_POST['Question'];
} else {
$menuVar = "----------";
}