Type the full code, as you might have an error in the code and just haven't seen it.
<title><?php echo $_POST['submit'] . ' ' . $_POST['type'] . ': ' . $_POST['name']; ?></title>
make sure the code is like that.
I see where you have gone wrong it isn't a " it should be ' ' in between the $_POST['submit'] . ' ' . $_POST['type'] try that, it should work then, and not give you an error.