Hi.
Today I started writing some classes and methods in PHP for the first time.
What I'm wondering is how to access methods inside one file (question.php) from another file (createQuiz.php).
I have tried include(question.php) and require(question.php) with no succcess. I keep getting the following error:
Fatal error: Call to undefined function: replace() in question.php on line 63
I have tried Question.replace() and question.replace() as well. Any ideas...?
Do you think it has something to do with my Configuration file?
Thanks,
Craig