Alright I'm having a bit of a problem here, any help is greatly appreciated.
Basically I have a class that we'll call class1. I have a function that's in a seperate PHP script all to itself that is not part of any class. I have a method from within class1 calling the seperate non-class function. Now I have a variable in class1 how do I pass it to the function without passing it as a parameter.
Am I making any logical sense?
I've tried calling it just by the name but that doesn't work. Any ideas?