19 lines
613 B
Markdown
19 lines
613 B
Markdown
|
---
|
||
|
title: Handling Form Input
|
||
|
---
|
||
|
## Handling Form Input
|
||
|
GET VS POST
|
||
|
|
||
|
One can get form inputs with global variables $_POST and $_GET.
|
||
|
```
|
||
|
$_POST["firstname"] or $_GET['lastname']
|
||
|
```
|
||
|
|
||
|
|
||
|
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
|
||
|
|
||
|
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
|
||
|
|
||
|
#### More Information:
|
||
|
<!-- Please add any articles you think might be helpful to read before writing the article -->
|