Page 1 of 1
How to use functions from another php file
Posted: Tue Dec 12, 2006 6:10 pm
by jdhorton77
If I have some functions that I find are going to be used in multiple pages how do I link to them. Actually I think that's the tag I'm supposed to use. But when I was playing around with the link tag it didn't seem to work right. Am I supposed to use include()? Thanks for all of your help.
Re: How to use functions from another php file
Posted: Tue Dec 12, 2006 6:14 pm
by John Cartwright
jdhorton77 wrote:Am I supposed to use include()?
You got it.
Re: How to use functions from another php file
Posted: Tue Dec 12, 2006 7:07 pm
by RobertGonzalez
jdhorton77 wrote:If I have some functions that I find are going to be used in multiple pages how do I link to them. Actually I think that's the tag I'm supposed to use. But when I was playing around with the link tag it didn't seem to work right. Am I supposed to use include()? Thanks for all of your help.
This is probably something you could have solved for yourself if you would have tried it.

Posted: Tue Dec 12, 2006 10:47 pm
by jdhorton77
Well honestly I have tried it, but I used a link tag. That must be where I went wrong. But thanks anyway, I have to say, I love this site. You guys are very helpfull and I appreciate all that you do for us "newbies".