mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-06 07:05:14 +01:00
Initiale Version
This commit is contained in:
15
Kapitel_2/Lektion_9/2_mit_variablen_rechnen.php
Normal file
15
Kapitel_2/Lektion_9/2_mit_variablen_rechnen.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
$a = 10;
|
||||
$b = 20;
|
||||
|
||||
echo $a + $b;
|
||||
echo '<br>';
|
||||
|
||||
$summe = $a + $b;
|
||||
echo $summe;
|
||||
echo '<br>';
|
||||
|
||||
echo "<p>Summe: " . $summe . "</p>";
|
||||
|
||||
echo "<p>Summe: " . ($a + $b) . "</p>";
|
||||
Reference in New Issue
Block a user