Search
Syndication
Sponsors

Posts Tagged ‘Part’

Can Php Be Used To Include Part Of A File?

Saturday, January 30th, 2010

I have several php codes that I use many times throughout my script. For example, I have code1, code2, & code 3 located several times within several different files.
Can I just somehow place all of these codes in 1 file and then call upon the place that they are in that file?
With all the objects, if statements, arrays, variables, etc (all of this confuses me), is there some way to create something that will work?

Translate
Links

Tags