Well hello again 🙂
You may be better off in one of the other forums. Or maybe test your scripts before you post them. Either way...
Here we go...
$SERVER[$PHP_SELF] <- Invalid. Should be $SERVER['PHP_SELF']
echo "Hello $SESSION['a']. <- Also invalid. Superglobals need to be removed from the string. Like
echo "Hello ".$_SESSION['a'];
I find it good to just remove all globals from the string
Same here ->"Name","$_POST['a']
HTH