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
calling a method in an included file
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA