We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c232788 commit 4dc554bCopy full SHA for 4dc554b
tutorial-005-mix-php-and-html/bg3.php
@@ -0,0 +1,35 @@
1
+<?php
2
+
3
+$character1 = 'Iron Man';
4
+$impression1 = 'The game is amazing! It is worth every penny spent!';
5
6
+$character2 = 'Mr. Strange';
7
+$impression2 = 'Nothing special. The game shows my regular day.';
8
9
+$character3 = 'Harry Potter';
10
+$impression3 = 'Havent played the game. Busy fighting Lord Voldemort.';
11
12
+?>
13
+<!DOCTYPE html>
14
+<html>
15
+<head>
16
+ <title>Baldur's Gate 3</title>
17
+</head>
18
+<body>
19
+<h1>Baldur's Gate 3</h1>
20
+<ul>
21
+ <li>
22
+ <?= $character1 ?>:
23
+ "<?= $impression1 ?>"
24
+ </li>
25
26
+ <?= $character2 ?>:
27
+ "<?= $impression2 ?>"
28
29
30
+ <?= $character3 ?>:
31
+ "<?= $impression3 ?>"
32
33
+</ul>
34
+</body>
35
+</html>
0 commit comments