Skip to content

Commit f964316

Browse files
authored
added the convertor class and added the cycled text function
1 parent 08f9788 commit f964316

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<?php
2+
require_once(decorator.php);
3+
$dec = new Decorator();
4+
?>
5+
16
<!DOCTYPE html>
27
<html>
38
<head>
@@ -15,7 +20,7 @@ <h1>Null's Text Decorator</h1>
1520
<br />
1621
Enter your text here → <input type=\"text\" name=\"input\" value=\"". $_POST["input"] ."\" />
1722
<br />
18-
Circled text: <input type=\"text\" name=\"cool1\" value=\"". /* OUTPUT */ ."\" />
23+
Circled text: <input type=\"text\" name=\"cool1\" value=\"". dec.($_POST["input"]) ."\" />
1924
<br />
2025
<input type=\"submit\" name=\"step2\" />
2126
</form>

0 commit comments

Comments
 (0)