You need to concatanate your strings:
echo ' <td>' $_POST[phone] '</td>\n';
won't work.
You need to put in periods to join the srings to your variables:
echo ' <td>'.$_POST[phone].'</td>\n';
You can also do:
echo " <td>$_POST[phone]</td>\n";
as long as you use double quotes to deliniate strings you can include variables but remember to escape \" any double quotes within the string:
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"10\">\n";
There's also an issue with using single quotes within single quotes:
echo '<table width='100%' border='0' cellspacing='0' cellpadding='10'>\n';
is going to bomb.
Try:
echo "<table width='100%' border='0' cellspacing='0' cellpadding='10'>\n";
There's other ways to print large chunks of text too. Weave the PHP code into your HTML code:
<td><?php echo $_POST[phone] ?></td>
or use the print <<END...END capability.
Hope this helps,
Dave