page_one.php where I have text field for user to enter text..
form action page_one.php where I echo their text.
Im having brain fat and can't think
form action page_one.php where I echo their text.
Im having brain fat and can't think
<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>

Comment