-
Notifications
You must be signed in to change notification settings - Fork 4
OUT_SNIPPET
Jurek Muszyński edited this page Mar 28, 2024
·
4 revisions
Writes snippet, that is content read from the file in snippets directory, to output buffer. It is a hybrid solution, allowing mixed – partly rendered, partly static – content in one server response.
None
void render_about()
{
header(); // dynamically render header
OUT_SNIPPET("about.html"); // static part
footer(); // dynamically render footer
}