Copy link to clipboard
Copied
I am wondering what the best way to organize php functions is. I was thinking of creating one php function file, and then have every page access it by using include once. i think it will make the pages easier to read, organize, and work with in the long run. is this a good idea? what should it be called?
Copy link to clipboard
Copied
I am not sure what your purpose is for doing this but before moving any further I think it wise for you to visit the following. Seems to me to be a duplication even if only for personal use.
http://www.w3schools.com/php/default.asp
Check out the completely organized PHP structure.
TJS
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more