From 0158b59ccb9991d625ff7a83ede5c89931444f39 Mon Sep 17 00:00:00 2001 From: szabomarton Date: Thu, 5 Dec 2024 11:59:42 +0100 Subject: [PATCH] added orai --- 20241205/config.php | 22 ++++++++++++++++++++++ 20241205/footer.php | 3 +++ 20241205/func.php | 10 ++++++++++ 20241205/head.php | 13 +++++++++++++ 20241205/html.php | 11 +++++++++++ 20241205/index.php | 7 +++++++ 6 files changed, 66 insertions(+) create mode 100644 20241205/config.php create mode 100644 20241205/footer.php create mode 100644 20241205/func.php create mode 100644 20241205/head.php create mode 100644 20241205/html.php create mode 100644 20241205/index.php diff --git a/20241205/config.php b/20241205/config.php new file mode 100644 index 0000000..5413af6 --- /dev/null +++ b/20241205/config.php @@ -0,0 +1,22 @@ +connect_errno) + { + die("Nem sikerült a kapcsolat kiépítése: ".$conn->connect_error); + } + + $sql = "SELECT * FROM felh"; + $result = $conn->query($sql); + + if($result->num_rows){ + echo "Van rekord"; + } + +?> \ No newline at end of file diff --git a/20241205/footer.php b/20241205/footer.php new file mode 100644 index 0000000..e13994b --- /dev/null +++ b/20241205/footer.php @@ -0,0 +1,3 @@ + + +close();?> \ No newline at end of file diff --git a/20241205/func.php b/20241205/func.php new file mode 100644 index 0000000..0a79ce1 --- /dev/null +++ b/20241205/func.php @@ -0,0 +1,10 @@ + + + + + + Document + + +

+ +

diff --git a/20241205/html.php b/20241205/html.php new file mode 100644 index 0000000..faeeadf --- /dev/null +++ b/20241205/html.php @@ -0,0 +1,11 @@ +

Teszt felület vendég

+ +
+ +
+ +
+ + + +
\ No newline at end of file diff --git a/20241205/index.php b/20241205/index.php new file mode 100644 index 0000000..16b713b --- /dev/null +++ b/20241205/index.php @@ -0,0 +1,7 @@ +