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


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
25 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 | 25 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,135 users