Can you render a PHP file into a variable?

前端 未结 5 1938
孤城傲影
孤城傲影 2020-12-28 08:51

If I have a hello.php file like this:

Hello, !

I would like to do something like this in some php code:

         


        
5条回答
  •  感情败类
    2020-12-28 09:21

    http://www.devshed.com/c/a/PHP/Output-Buffering-With-PHP/

    Output buffering might be the place to start.

提交回复
热议问题