Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 KB | None | 0 0
  1. <?php
  2. /**
  3. * User: Ries Leenders
  4. * Date: 11-2-2020
  5. * Time: 11:57
  6. * File: opdracht2.2.php
  7. */
  8. ?>
  9. <!DOCTYPE HTML>
  10. <html>
  11. <head>
  12. <meta name="description" content=" ">
  13. <meta name="keywords" content=" ">
  14. <meta charset="UTF-8">
  15. <link href="/phpopdrachten/css/style.css" rel="stylesheet">
  16. </head>
  17. <body>
  18. <header>
  19. <h1><?php echo "Uitwerking van PHP-opdrachten"; ?></h1>
  20. </header>
  21. <aside>
  22. <section>
  23. <h2>Menu</h2>
  24. <ul>
  25. <li>Hoofdstuk 2
  26. <ul>
  27. <li>
  28. <a href="opdracht2.1.php">Opdracht 2.1</a>
  29. </li>
  30. <li>
  31. <a href="opdracht2.2.php">Opdracht 2.2</a>
  32. </li>
  33. </ul>
  34. </li>
  35. <br>
  36. <li>Hoofdstuk 3
  37. <ul>
  38. <li>
  39. <a href="hoofdstuk3/opdracht3.1.php">Opdracht 3.1</a>
  40. </li>
  41. <li>
  42. <a href="hoofdstuk3/opdracht3.2.php">Opdracht 3.2</a>
  43. </li>
  44. <li>
  45. <a href="hoofdstuk3/opdracht3.3.php">Opdracht 3.3</a>
  46. </li>
  47. </ul>
  48. </li>
  49. <br>
  50. <li>Hoofdstuk 4
  51. <ul>
  52. <li>
  53. <a href="hoofdstuk4/opdracht4.1.php">Opdracht 4.1</a>
  54. </li>
  55. <li>
  56. <a href="hoofdstuk4/opdracht4.2.php">Opdracht 4.2</a>
  57. </li>
  58. <li>
  59. <a href="hoofdstuk4/opdracht4.3.php">Opdracht 4.3</a>
  60. </li>
  61. <li>
  62. <a href="hoofdstuk4/opdracht4.4.php">Opdracht 4.4</a>
  63. </li>
  64. </ul>
  65. </li>
  66. <br>
  67. <li>Hoofdstuk 5
  68. <ul>
  69. <li>
  70. <a href="hoofdstuk5/opdracht5.1.php">Opdracht 5.1</a>
  71. </li>
  72. <li>
  73. <a href="hoofdstuk5/opdracht5.2.php">Opdracht 5.2</a>
  74. </li>
  75. <li>
  76. <a href="hoofdstuk5/opdracht5.3.php">Opdracht 5.3</a>
  77. </li>
  78. <li>
  79. <a href="hoofdstuk5/opdracht5.4.php">Opdracht 5.4</a>
  80. </li>
  81. </ul>
  82. </li>
  83. </ul>
  84. <br>
  85. <a href="/phpopdrachten/index.php">Terug</a>
  86. </section>
  87. </aside>
  88. <main id="wrapper">
  89. <h2>Uitwerkingen</h2>
  90. <?php
  91. $text1 = "Hallo";
  92. $text2 = "een makkelijke taal";
  93. $text3 = "toch zo'n makkelijke taal";
  94. $text4 = "wat is";
  95. $text5 = "PHP";
  96. $text6 = "Nooit gedacht dat";
  97. $text7 = "De installatie is best ingewikkeld";
  98. $text8 = "Fijn";
  99. $text9 = "?";
  100. $text10 = ".";
  101. $text11 = ",";
  102. $text12 = "<br>";
  103. $text13 = "is";
  104. $text14 = "Vind je niet";
  105. $text15 = "toch";
  106. $text16 = "dat";
  107. $text17 = "zo'n makkelijke taal";
  108.  
  109. echo "<p>"."$text1"."$text11"." "."$text4"." "."$text5"." "."$text15"." "."$text2"."$text10"."$text12"
  110. ."$text7"."$text10"." "."$text8"." "."$text15"."$text9"."$text12"
  111. ."$text6"." "."$text5"." "."$text3"." "."$text13"."$text10"."</p>"
  112. ?>
  113.  
  114. <?php
  115. echo "<p>"."$text1"."$text11"."$text12"
  116. ."$text8"." "."$text15"." "."$text16"." "."$text5"." "."$text17"." "."$text13"."$text10"."$text12"
  117. ."$text7"."$text10"." "."$text14"."$text9"
  118.  
  119. ?>
  120. </main>
  121. </body>
  122. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement