As slip said, you will probably have to read tutorials. Look up codes. If you don't know a function google it ex: "php if". That said, i might be able to help too. It would probably be best to use a form "depending on the situation". Say the name of the form is "form". You have a text field named "test". What you want to do is Post the information that has been entered into test to post.php. post.php the takes your information and processes it how you feel neccessary. ex:
<form id="form" name="form" method="post" action="post.php">
<input type="text" name="Test" id="Test" />
<input type="submit" name="submit" id="submit" value="Submit" />
</form>
OK. there is the form. what you type in the textfield will get sent to post.php when you click submit. what you can do with post.php ex:
<?php$form = $_POST['Test'];echo "$form";?>this will just echo what you have entered into the textfield onto the page post.php. pretty simple but it can get complicated. if you need more help just reply and ask. we will be willing to help "i think"
Notice from rvalkass:
Code tags added around the code sections. Take a look at the list of BBCodes for more info.