In PHP, the superglobal that can be used to get variables passed to the current script via URL parameters is ________.
- $_GET
- $_REQUEST
- $_POST
- $_SESSION
The $_GET superglobal in PHP is used to retrieve variables passed to the current script via URL parameters. It's commonly used for reading data from URLs.
Loading...
Related Quiz
- In PHP, the sqrt() function returns the square root of a(n) ______.
- What is the purpose of the substr() function in PHP?
- Is it possible to destroy a cookie?
- You have a PHP script and you are getting an error when trying to create a MySQL table. How would you troubleshoot this issue?
- How is the result set of MySQL handled in PHP?