如何将输入的信息从一页输出到另一页


How to output the inputted informations from one page to another page

以下是rpay2.html

的完整代码
<html>
<body>
<form name="info" action="rpay4.php" method="get">
<h2>Personal Information</h2>
Name:
<input type="text" name="Name" value="Enter your name here" onfocus="ClearPlaceHolder (this)" onblur="SetPlaceHolder (this)" class="txt" maxlength="99" onkeypress="return FilterInput (event)">
Address:
<input type="text" name="Address" value="Enter your address here" onfocus="ClearPlaceHolder (this)" onblur="SetPlaceHolder (this)" class="txt" maxlength="99">
Contact #:
<input type="text" name="ContactNo" value="Enter your contact no. here" onfocus="ClearPlaceHolder (this)" onblur="SetPlaceHolder (this)" class="txt" maxlength="99">
E-mail:
<input type="text" name="Email" value="Enter your e-mail here " onfocus="ClearPlaceHolder (this)" onblur="SetPlaceHolder (this)" class="txt" maxlength="99">
<p align="right"><a href="rpay3.html"><input type="BUTTON" value="Submit" onclick="checkit(); return false"></a><a href="rpay.html" target="_top"><input Type="BUTTON" VALUE="Cancel"></a>
</div>
</form>

rpay4.php

<html>
<body>
Your reservation informations:
<br><br>
<?php
echo "Name: " . $_GET["Name"] . "";
echo "You live in " . $_GET["Address"] . "";
echo "Your contact number is " . $_GET["ContactNo"] . "";
echo "Your e-mail is " . $_GET["Email"] . "";
?>
<p align="right">Proceed?<br><a href="res.html" target="_top"><input     type="button" onclick="javascript:gosomewhere();" value="Ok"></a><input Type="BUTTON"     VALUE="Cancel" onclick="window.location.href='rpay2.html'">
    </body>
</html>    

只有"您的预订信息:"和按钮显示在rpay4.php似乎是什么问题?只是初学者,不好意思

而不是

<p align="right"><a href="rpay3.html"><input type="BUTTON" value="Submit" onclick="checkit(); return false"></a><a href="rpay.html" target="_top"></a>

试试这个

<input type="submit" value="submit" name="submit" onclick="checkit(); return false" /> <input Type="button" value="Cancel" onclick="window.location.href='rpay.html';" />

除了一切看起来都很好....