Post your <form> tag.
It should look something like this;
<form action="<?PHP echo "$PHP_SELF"; ?>" method="post">
<input type="text" name="name" id="name" size="30">
</form>
unless you are uploading a file in which case it should look like:
<form action="<?PHP echo "$PHP_SELF"; ?>" method="post" enctype="multipart/form-data">
<input type="text" name="name" id="name" size="30">
</form>
Each of the above when submitted should result in the immediate assignment of a variable "$name" which has a value equal to that entered into the text field.
and excuse me if I'm apparently pitching at too low a level.