Can anyone have any idea how to implement this: For example, a request to create a page is submitted to the database, a record is created in the database (for example: id = 1 title = home). Is it possible to fasten a certain HTML document to this record, something like a template?
template
field to thetemplate
--------------------------------- -------$template = file_get_contents($row['template'] . ".html");
---------------------------------------- And then dancing with: strpreg_replace, preg_replace and t .d - Palmervan