From fd3efd12260ba5f55dda76cfe42c9bed8000ae92 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Thu, 6 Feb 2025 13:16:23 -0700 Subject: [PATCH] classwork --- 5min/day6/index.php | 19 +++++++++++++++++++ exercises/4/foreach.php | 8 ++++++++ exercises/4/human-interpreter.txt | 5 +++++ 3 files changed, 32 insertions(+) create mode 100644 5min/day6/index.php create mode 100644 exercises/4/foreach.php create mode 100644 exercises/4/human-interpreter.txt diff --git a/5min/day6/index.php b/5min/day6/index.php new file mode 100644 index 0000000..4a6e3bd --- /dev/null +++ b/5min/day6/index.php @@ -0,0 +1,19 @@ + + + + + Day 6 + + + +

Hello cruel world!

+
+ + '; + + ?> +
+ + + 'beavis', 'jones'); + +echo '

'; +foreach ($person as $key => $p) + echo "

$key - $p

"; +echo ''; +?> diff --git a/exercises/4/human-interpreter.txt b/exercises/4/human-interpreter.txt new file mode 100644 index 0000000..56a5549 --- /dev/null +++ b/exercises/4/human-interpreter.txt @@ -0,0 +1,5 @@ +

beavis

butthead

+

beavis

butthead

+

butthead

and

+beavisandbutthead +

beavisandbutthead