Depends on what you mean. If you mean accessing data input by the user in a form, search the forums for $POST and $GET.
If you want to access elements of a form before they are posted, PHP can't do that. Because PHP is a sever-side language, you cannot access elements of HTML in the same way you can with Javascript. Form validation before submission, etc. should be performed by Javascript snippets, not by PHP.