
PHP tutorial: Full POST method
This is what the POST and GET method would of looked like if you completed the code:
[PHP]echo "<form action='index5.php' method='POST'>";
echo "Name:
<Input type='text' name='Fullname'>";
echo "<P>Email:
<Input type='email' name='email'>";
echo "<P>Comment";
echo "<form action='index1.php' method='GET'>";
print "<P><Textarea name='name'> </textarea>
<P><input type='submit' value='Post comment'>";
$server = "Online";
$message = $_POST['name'];
$Username = $_POST['Fullname'];
$Email = $_POST['email'];
echo "<P><B>Username:</B> ''$Username''";
echo "<P><B>Email:</B> ''$Email''";
echo "<P><B>Message:</B> ''$message''";
[/PHP]
And then your output :)
Change your page title in <form>.