Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

organizing php functions

Explorer ,
Feb 25, 2012 Feb 25, 2012

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?

TOPICS
Server side applications
485
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 25, 2012 Feb 25, 2012
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines