I can give you an easy example in PHP. You would need a server to do this, though:
Your first page:
Code:
<html>
<head>
<title>Form Example</title>
</head>
<body>
<h1>Form Example</h1>
Enter the following information. When you press the Display button,
the data you entered will be displayed in a pop-up window.
<form name="form1" action="submit.php" method="get">
<p><b>Name:</b> <input TYPE="TEXT" SIZE="20" NAME="yourname">
</p>
<p><b>Address:</b> <input TYPE="TEXT" SIZE="30" NAME="address">
</p>
<p><b>Phone: </b> <input TYPE="TEXT" SIZE="15" NAME="phone">
</p>
<p><input TYPE="SUBIMIT" value="Submit">
</form>
</body>
</html>
Here is the page that will load:
submit.php
Code:
<html>
<head>
<title>Form Example</title>
</head>
<body>
<ul><li><b>Name:</b> <?php echo $_GET['yourname']; ?></li>
<li><b>Address:</b> <?php echo $_GET['adress']; ?></li>
<li><b>Phone:</b> <?php echo $_GET['phone']; ?></li></ul>
</body>
</html>
Once again, you will need a server to run this PHP code. Hope I could help.
-magicyte
Bookmarks