Forum Moderators: coopster
<html><body>
<ceneter>
<form action="submitR.php" method="post">
User Name:
<input type="text" name="UserName" maxlength=2><br>
Topic:
<input type="text" name="Topic" maxlength=2> <br>
Content:<br>
<TEXTAREA name="content" clos=50 rows=10 onkeyup="this.value = this.value.slice(0, 200)"></TEXTAREA>
<br>
<INPUT type="submit" value="submit"> <INPUT type="reset">
</form>
</ceneter>
</body>
</html>
in the submitR.php file
<?echo "$REQUEST_['topic']";
echo "$REQUEST_['content']";
echo "$REQUEST_['username']";
?>
echo $_REQUEST['Topic'];
echo $_REQUEST['content'];
echo $_REQUEST['UserName'];
When i want to see what's going on i tend to use:
print_r($_REQUEST); as it'll spit out everything coming from the form.
cheers,
hughie