[3.5]Use "include()" or just dump it in?
I hope I've chosen the correct forum to post this and I hope it's not a dumb question...
So I've made this 'plugin' that assigns a random value from an array to a variable which I then use in my header template.
My question is, would it be better to put the array in a php file and use include() in the plugin code, or just dump the array into the plugin file?
It works just dumped in (see attached) but I was thinking it would make updating and editing the array easier if use include instead...
If I did use include, is there a certain directory that I should use or no?
Thoughts, criticism, jello?
|