22 lines
317 B
PHP
22 lines
317 B
PHP
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>PHP</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<h1>PHP</h1>
|
||
|
|
||
|
<?php
|
||
|
$x = 1;
|
||
|
$y = 2;
|
||
|
|
||
|
$sum = $x + $y;
|
||
|
|
||
|
echo "<p>$x + $y = $sum</p>";
|
||
|
?>
|
||
|
|
||
|
</body>
|
||
|
</html>
|