PHP

Description

Server side language which is used to pre-process files like HTML, CSS, JS. Kirby and Wordpress are written in PHP.

Examples

General

<?php
$x = 5;
$y = "John";
echo $x;
echo $y;
?>

Outputs

5
John

Web

<html>
  <head>
    <title>PHP-Test</title>
  </head>
  <body>
    <?php echo "<p>Hallo Welt</p>"; ?>
  </body>
</html>

Outputs

<html>
  <head>
    <title>PHP-Test</title>
  </head>
  <body>
     <p>Hallo Welt</p>
  </body>
</html>

Learn More

Edit this page on GitHub Updated at Sun, Jun 13, 2021