From a1e1a43d817c5aac15c521eb9484cb241e52fea8 Mon Sep 17 00:00:00 2001 From: Patryk Hegenberg Date: Mon, 12 Dec 2022 20:23:31 +0100 Subject: [PATCH] Part on Superglobals finished --- about.php | 1 + contact.php | 1 + functions.php | 11 +++++++++++ index.php | 1 + mission.php | 1 + views/partials/nav.php | 8 ++++---- 6 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 functions.php diff --git a/about.php b/about.php index 1567258..18bb937 100644 --- a/about.php +++ b/about.php @@ -1,3 +1,4 @@ "; + var_dump($value); + echo ""; + + die(); + } + function urlIs($value) { + return $_SERVER['REQUEST_URI'] === $value; + } \ No newline at end of file diff --git a/index.php b/index.php index 41f9cac..66af808 100644 --- a/index.php +++ b/index.php @@ -1,3 +1,4 @@
- Home + Home - About + About - Contact + Contact - Our Mission + Our Mission