php7-mysql-data/Kapitel_2/Lektion_9/2_mit_variablen_rechnen.php

16 lines
177 B
PHP
Raw Permalink Normal View History

2016-08-16 21:20:53 +02:00
<?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>";