What is the role of $_GET and $_POST?

Entry PHP

Answer

$_GET gets URL parameters. $_POST retrieves data sent through the request body, often for forms.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice