diff --git a/Zadanie 1/variables.php b/Zadanie 1/variables.php new file mode 100644 index 0000000..eba456e --- /dev/null +++ b/Zadanie 1/variables.php @@ -0,0 +1,43 @@ + + + + + + + Variables + + +'; +var_dump($a); +?>
+'; +var_dump($b); +?>
+'; +var_dump($c); +?>
+'; +var_dump($d); +?>
+'; +var_dump(A); +?>
+'; +var_dump(B); +?> +


+ + diff --git a/Zadanie 2.2/index.php b/Zadanie 2.2/index.php new file mode 100644 index 0000000..17df02b --- /dev/null +++ b/Zadanie 2.2/index.php @@ -0,0 +1,22 @@ + + + + + + + D + + + +

jest liczbą pierwszą

+

Liczba Pi zaokrąglona do dwóch miejsc po przecinku:

+
+ to język skryptowy wykonywany po stronie serwera +
+ + \ No newline at end of file diff --git a/Zadanie 2/syntax.php b/Zadanie 2/syntax.php new file mode 100644 index 0000000..5961c9b --- /dev/null +++ b/Zadanie 2/syntax.php @@ -0,0 +1,41 @@ + + + + + + + a + + +
+
+
+
+
+
+
+
+ + + + diff --git a/Zadanie 3/index.php b/Zadanie 3/index.php new file mode 100644 index 0000000..0b4e996 --- /dev/null +++ b/Zadanie 3/index.php @@ -0,0 +1,27 @@ + + + + + + + Document + + +"; +echo strlen(DOBRA_RADA)."
"; +echo str_word_count(DOBRA_RADA)."
"; +echo strrev(DOBRA_RADA)."
"; +echo strpos(DOBRA_RADA, "to")."
"; +echo str_replace("chleba","mięsa",DOBRA_RADA)."
"; +echo strtolower(DOBRA_RADA)."
"; +echo strtoupper(DOBRA_RADA)."
"; +echo ucwords(DOBRA_RADA)."
"; +echo trim(DOBRA_RADA)."
"; +echo strstr(DOBRA_RADA, "nie")."
"; +echo substr(DOBRA_RADA,10,5)."
"; +echo str_pad(DOBRA_RADA,"37","-_-",STR_PAD_BOTH)."
"; +?> + + diff --git a/Zadanie odnosniki/index.php b/Zadanie odnosniki/index.php new file mode 100644 index 0000000..236d2de --- /dev/null +++ b/Zadanie odnosniki/index.php @@ -0,0 +1,30 @@ + + + + + + + Document + + + +
+ +
    +
  1. + Strona ale inna +
  2. +
  3. + Strona ale jeszcze inna +
  4. +
  5. + Strona ale jeszcze bardziej inna +
  6. +
+ + + \ No newline at end of file diff --git a/Zadanie odnosniki/index1.php b/Zadanie odnosniki/index1.php new file mode 100644 index 0000000..9479acc --- /dev/null +++ b/Zadanie odnosniki/index1.php @@ -0,0 +1,16 @@ + + + + + + + Document + + + +
+Powrót + + diff --git a/Zadanie odnosniki/index2.php b/Zadanie odnosniki/index2.php new file mode 100644 index 0000000..418556a --- /dev/null +++ b/Zadanie odnosniki/index2.php @@ -0,0 +1,16 @@ + + + + + + + Document + + + +
+Powrót + + diff --git a/Zadanie odnosniki/index3.php b/Zadanie odnosniki/index3.php new file mode 100644 index 0000000..b2a5b3f --- /dev/null +++ b/Zadanie odnosniki/index3.php @@ -0,0 +1,16 @@ + + + + + + + Document + + + +
+Powrót + + \ No newline at end of file diff --git a/index.php b/index.php deleted file mode 100644 index fbabfc0..0000000 --- a/index.php +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - Document - - - - - \ No newline at end of file