(Rendering Custom Views) How get the Content from a php file?
Permalink
Hello there,
my english ist not the best, sry for that!
I would like to display the content of a php file in a singlepage and I wanted to use "Rendering Custom Views" because the content contains PHP which has to be executed. However, I do not understand how I now get the content from the content PHP in the single page view. Since this is an MVC, I assume that the PHP internal "file_get_contents" is not suitable for this.Maybe someone can give me a small example. Many thanks in advance.
my english ist not the best, sry for that!
I would like to display the content of a php file in a singlepage and I wanted to use "Rendering Custom Views" because the content contains PHP which has to be executed. However, I do not understand how I now get the content from the content PHP in the single page view. Since this is an MVC, I assume that the PHP internal "file_get_contents" is not suitable for this.Maybe someone can give me a small example. Many thanks in advance.