php7-mysql-data/Kapitel_2/Lektion_9/2_mit_variablen_rechnen.php
2016-08-21 00:15:10 +02:00

16 lines
177 B
PHP

<?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>";