Skip to main content
Known Participant
February 25, 2012
Question

organizing php functions

  • February 25, 2012
  • 1 reply
  • 481 views

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?

This topic has been closed for replies.

1 reply

Inspiring
February 25, 2012

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