1.

Which variable is used to collect form data sent with both the GET and POST methods?(a) $BOTH(b) $_BOTH(c) $REQUEST(d) $_REQUESTThe question was posed to me in final exam.The above asked question is from HTML Forms topic in chapter File and Session Handling in PHP of PHP

Answer» CORRECT CHOICE is (d) $_REQUEST

Easy explanation: In PHP the global variable $_REQUEST is used to collect DATA after submitting an HTML FORM.


Discussion

No Comment Found

Related InterviewSolutions