Both get and post creates an array (get and post are superglobals).
$_GET is an array of variables passed to the current script via the URL parameters.
$_POST is an array of variables passed to the current script via the HTTP POST method.
When to use Get and Post-> get is used for less secure information however passwords couldn't be used with get and post is used to transfer form information(multipart binary input).