Browse Source

first commit

main
Ivan Pomykacz 7 months ago
commit
3bd628a992
  1. 2
      README.md
  2. 3
      footer.php
  3. 8
      header.php
  4. 13
      index.php

2
README.md

@ -0,0 +1,2 @@
# PHP project template

3
footer.php

@ -0,0 +1,3 @@
</body>
</html>

8
header.php

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo "$title"; ?></title>
</head>
<body>

13
index.php

@ -0,0 +1,13 @@
<?php
$title = "Šablona";
include "header.php";
echo "php project template";
include "footer.php";
?>
Loading…
Cancel
Save