Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void display() {
- auto name = GET["name"];
- if(name != "")
- output("<div style=\"padding-bottom: 30px;\">"
- "Hi, <b>%</b>!</div>", name);
- output(
- "<form method=\"get\">"
- "What's your name?<br />"
- "<input name=\"name\" />"
- "<input type=\"submit\" value=\"Greet me!\" />"
- "</form>");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement