Need help with php code

I dont know the difference between method $_POST and method $_GET.

GET and POST are different request methods. GET is the default; POST usually is only used for forms or some background requests. Depending on the request method, PHP populates one or the other of those arrays with the request parameters.

1 Like