Skip to content

Commit 99b3140

Browse files
authored
Create index.html
1 parent 5528614 commit 99b3140

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

index.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5+
<title>Null's Text Decorator</title>
6+
</head>
7+
<body>
8+
<?php
9+
if (isset($_POST["step2"]))
10+
{
11+
echo "
12+
<h1>Null's Text Decorator</h1>
13+
<br />
14+
<form action=\"index.php\" method=\"post\">
15+
<br />
16+
Enter your text here → <input type=\"text\" name=\"input\" value=\"". $_POST["input"] ."\" />
17+
<br />
18+
Circled text: <input type=\"text\" name=\"cool1\" value=\"". /* OUTPUT */ ."\" />
19+
<br />
20+
<input type=\"submit\" name=\"step2\" />
21+
</form>
22+
";
23+
}
24+
else
25+
{
26+
echo "
27+
<h1>Null's Text Decorator</h1>
28+
<br />
29+
<form action=\"index.php\" method=\"post\">
30+
<br />
31+
Enter your text here → <input type=\"text\" name=\"input\" />
32+
<br />
33+
Circled text: <input type=\"text\" name=\"cool1\" />
34+
<br />
35+
<input type=\"submit\" name=\"step2\" />
36+
</form>
37+
";
38+
}
39+
?>
40+
</body>
41+
</html>

0 commit comments

Comments
 (0)