Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor code comment correction #108

Merged
merged 1 commit into from
Sep 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Expand Up @@ -57,10 +57,12 @@ $app->get('/foo', function ($request, $response, $args) {
$name = $request->getAttribute($nameKey);
$value = $request->getAttribute($valueKey);

// Render HTML form which POSTs to /bar with two hidden input fields for the
// name and value:
// <input type="hidden" name="<?= $nameKey ?>" value="<?= $name ?>">
// <input type="hidden" name="<?= $valueKey ?>" value="<?= $value ?>">
/*
Render HTML form which POSTs to /bar with two hidden input fields for the
name and value:
<input type="hidden" name="<?= $nameKey ?>" value="<?= $name ?>">
<input type="hidden" name="<?= $valueKey ?>" value="<?= $value ?>">
*/
});

$app->post('/bar', function ($request, $response, $args) {
Expand Down