Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Order of includes
December 11, 2008, 1:46 pm
rate this thread
Re: Order of includes
How about this...
Since B requires A,
This way each file is only pulled in once no matter how many times it's
referenced in sub-files
You could use include_once() instead but if you're program will fail
without the contents of that file, use require instead.