Greetings,
Change the first file to this:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Say my name</title>
</head>
<body>
<form action="formprocess.php" method="post">
<table>
<tr>
<td>Name</td>
<td><input type="text" name="name" value="" size="20" /></td>
</tr>
<tr>
<td colspan="2" style="text-align:center;"><input type="submit" name="Submit" value="Submit" /></td>
</tr>
</table>
</form>
</body>
</html>
Assuming the other file will be named: processform.php it will, or should, now work as you now have a textbox called name which will be passed to the processform script in the POST array.