A few areas, first off you can't close off the code after "entered this name" and then again after $name(yu didn't start it back up at<b> and udidn't have to. If you want to echo everything out wrap it all in single quotes ' ' and use the php concantenation operator '.'
echo "You submitted the form and entered this name :
//problem line <b><i> <p class="value"><?php echo "$name ; ?> </i></b></p>";
$name = $_POST['name'];
echo 'You submitted the form and entered this name :
I tested it and it works.