diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-06-28 10:26:03 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-06-28 10:26:03 +0300 |
| commit | 6f4cfe7b5c6c74d83b03e18870aeb6977db6c0de (patch) | |
| tree | 11f667f63e10fee036cd963dde35562183b9764d /Web design/PHP/Test/calc.php | |
| parent | f2d1216153123a3fbee6af8e7a0ad06a3577f216 (diff) | |
| download | Self-learning-6f4cfe7b5c6c74d83b03e18870aeb6977db6c0de.tar Self-learning-6f4cfe7b5c6c74d83b03e18870aeb6977db6c0de.tar.gz Self-learning-6f4cfe7b5c6c74d83b03e18870aeb6977db6c0de.zip | |
Did some tinkering with PHP and Javascript.
Diffstat (limited to 'Web design/PHP/Test/calc.php')
| -rw-r--r-- | Web design/PHP/Test/calc.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Web design/PHP/Test/calc.php b/Web design/PHP/Test/calc.php new file mode 100644 index 0000000..c2728d9 --- /dev/null +++ b/Web design/PHP/Test/calc.php @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="" dir="ltr"> + <head> + <meta charset="utf-8"> + <title></title> + </head> + <body> + <?php + if ($_POST["one"]) { + echo 1; + } + elseif ($_POST["two"]) { + echo 2; + } + ?> + </body> +</html> |
