-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1820 from bgoonz/master
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
docs/content/learning-area/html/forms/sending-form-data/php-example.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<?php | ||
|
||
// The global $_POST variable allows you to access the data sent with the POST method by name | ||
// To access the data sent with the GET method, you can use $_GET | ||
$say = htmlspecialchars($_POST['say']); | ||
$to = htmlspecialchars($_POST['to']); | ||
// The global $_POST variable allows you to access the data sent with the POST method by name | ||
// To access the data sent with the GET method, you can use $_GET | ||
$say = htmlspecialchars($_POST['say']); | ||
$to = htmlspecialchars($_POST['to']); | ||
|
||
echo $say, ' ', $to; | ||
echo $say, ' ', $to; |