When you setup the textbox fields, make sure they both have names and that their names are unique. So something like below is an example:
<form method='post'>
<input type='text' name='box1' size=30><br>
<input type='text' name='box2' size=30>
</form>
Then to retrieve those 2 fields and display them you would use the following php code:
echo $_POST['box1']; //displays first field in above example
echo "<br>"; // adds new html line.
echo $_POST['box2']; //displays second field in above example
So try to make sure the field names are unique and in the form element it has method=post