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 @@ +