Browse Source

přidání promněné title

main
Ivan Pomykacz 7 months ago
parent
commit
5a20af4741
  1. 2
      header.php
  2. 4
      index.php

2
header.php

@ -3,6 +3,6 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<title><?php echo "$title"; ?></title>
</head>
<body>

4
index.php

@ -1,8 +1,10 @@
<?php
$title = "Šablona";
include "header.php";
echo "hohoho";
echo "php project template";
include "footer.php";

Loading…
Cancel
Save