O
O
Outoverlay2015-11-28 22:47:28
PHP
Outoverlay, 2015-11-28 22:47:28

How can I get all the data into a string before output?

Let's say there is index.php, header.php, footer.php are connected in it, and then they are immediately displayed. How to get this already compiled data into a string?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivanq, 2015-11-28
@Ivanq

Read ob_start etc.

X
Xaser, 2015-11-28
@Xaser

ob_get_contents

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question