<!DOCTYPE html>
<html>
  <head>
    <title>php basics</title>
  </head>
  <body>
    <?php

        $x = 25;
        $y = 10;
        $z = $x + $y;

    ?>

    <p><?php printf("\$z=%s", $z); ?></p>

    <?php $z = $x / $y; ?>

    <p><?php printf("\$z=%s", $z); ?></p>

    <?php $z = $y * $y * $x; ?>

    <p><?php print $z - 1250; ?></p>


    <p>
    <?php
        $string = "PHP is wonderful and great.";
        $string = $string . " " . "All the cool kids are doing it.";
        print $string;
    ?>
    </p>

  </body>
</html>
