Files
developer-roadmap/roadmaps/php/content/_get@GFYGFVfxkOoPI5mI4zSt1.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

17 lines
747 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# $_GET
$\_GET is a pre-defined array in PHP, that's used to collect form-data sent through HTTP GET method. It's useful whenever you need to process or interact with data that has been passed in via a URL's query string. For an example if you have a form with a GET method, you can get the values of the form elements through this global $\_GET array. Here’s an example:
<form method="get" action="test.php">
Name: <input type="text" name="fname">
<input type="submit">
</form>
Using $\_GET in `test.php`, you can fetch the 'fname' value from the URL:
echo "Name is: " . $_GET['fname'];
Visit the following resources to learn more:
- [@official@$_GET](https://www.php.net/manual/en/reserved.variables.get.php)