Yeah, I had the same problem. Try this;
<form action="nextpage.php" method=POST>
<p>Please enter your User iD:<br></p><p>
User ID:
<input type=text name="userID" size=6 maxlength="6">
<p> </p>
<table width="15%" border="0">
<tr>
<td width="40%">
<input type=submit name="submit" value="Done">
---------------------------------------Now the next page-------------------
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?php
print $userID;
or
echo $_GET['userID'];
?>
</body>
</html>