Assignment of operator

How to take input from user

use GET or POST method of PHP to get or post those input data into a variables.