I'm new to php and I've been following some tutorials in a book I purchased that basically create a form and pass the information using the method="get" and then attempt to show the results on the second page. The problem is that the second page is completely blank no matter what I do. I see the variables have been passed in the URL address but nothing is displayed on the screen.
What have I done wrong?
page 1 code
form.html
<XMP>
<head>
</head>
<body>
<form action="processfeedback.php3" method="get">
<TABLE BORDER="0" CELLPADDING="3" CELLSPACING="0">
<TR>
<TD ALIGN="RIGHT">Name:</TD>
<TD><input type="text" name="name"></TD>
</TR>
<TR>
<TD ALIGN="RIGHT">Email Address:</TD>
<TD><input type="text" name="email"></TD>
</TR>
<TR>
<TD ALIGN="RIGHT">Feedback:</TD>
<TD><textarea cols="24" rows="5" name="feedback"></textarea></TD>
</TR>
<TR>
<TD ALIGN="CENTER" COLSPAN="2"><input type="submit" value="Submit"></TD>
</TR>
</TABLE>
</form>
</body>
</XMP>
page 2 code
processfeedback.php3
<XMP>
<head>
<title></title>
</head>
<body>
<?
print $name;
?>
</body>
</XMP>