Is it possible to only load the array from an external file?

0 like 0 dislike
26 views
I have 2 files, one contains an array of information and html code.
And there's a second where this file is loaded by means of require. In the second file, I just want the array without the html, as the html breaks layout.
by | 26 views

2 Answers

0 like 0 dislike
Why not make the array in a separate file?
by
0 like 0 dislike
This is spike, but you can use ob_clean()
by

Related questions

110,608 questions
257,186 answers
0 comments
28,696 users