View Single Post
Old 10-29-2007, 05:04 PM  
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Not sure if this is the type of thing you're looking for or not... "should" work but I didn't test it.
Code:
<html>......
<form action="page_one.php" method="POST">
<p><input type="text" name="sometext" value="" size="30" /></p>
<p><input type="submit" name="subbutton" value="Submit It" /></p>
</form><br />
<?php
	if(isset($_POST['subbutton']) && isset($_POST['sometext']) && trim($_POST['sometext']) != ''){
		echo("<p>".htmlentities($_POST['sometext'])."</p>\n");
	}
?>
.....
</html>
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote