Skip to content

Instantly share code, notes, and snippets.

View joaquinrfs's full-sized avatar
🐺
Awoo!

Joaquín Fritsch Santis joaquinrfs

🐺
Awoo!
View GitHub Profile
@joaquinrfs
joaquinrfs / README.md
Created December 28, 2022 08:58 — forked from eric1234/README.md
A better way of doing layouts in PHP

Usage

Creating a Layout File

Create a file called layout.php. Where you want the content to appear add <?php echo $content ?>. Here is an example: