Which superglobal contains form data submitted with method="post"?
Correct answer
C. $_POST
14 views
C. $_POST
14 views
$_POST holds body parameters from POST requests. $_GET holds URL query parameters, and $_FILES holds uploaded files. Always validate and sanitise these inputs.
Asked in: NTS, PPSC, PHP Developer Interviews
Not sure why the answer is C? Ask here and get an explanation.