Jump to content

Functions questions


lmhart

Recommended Posts

I am very new to php and have a few questions about functions. 

Wondering if php will allow you to store all your functions in one file and then make a call to that file when needed(like with javascripts)?  Or if you have to put the function in each page.  If that is the case --> what is the point of functions?

 

I am trying to make my pages/scripts the most efficient that they can be.  Also I am trying to avoid writing un-necessary code.

Link to comment
https://forums.phpfreaks.com/topic/178494-functions-questions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.