calling a method in an included file
Posted: Tue Oct 17, 2006 9:09 am
I am trying to call a method in an included file, but it wont let me call it. The error it says is: call to undefined method.
I am puzzled since include should surely include the entire source of the file you choose to include.
If you cannot do this, how can I call a method in another PHP file because I want to keep PHP seperate from the rest of the page source since I am working on a page with another person that gets scared by PHP, that and it just gets in the way of the design.
Thanks, Tom
I am puzzled since include should surely include the entire source of the file you choose to include.
If you cannot do this, how can I call a method in another PHP file because I want to keep PHP seperate from the rest of the page source since I am working on a page with another person that gets scared by PHP, that and it just gets in the way of the design.
Thanks, Tom