i'm trying to include a php library into my component front-end, however, when i try to declare a object, it shows error: class not found.

here is some code: (in model)

     $myclass = new myclass('databaseT');
     $response = $myclass->request('form data');

     return $response;

Please help

closed as unclear what you're asking by Valentin Despa May 4 '15 at 18:27

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • You misspelled file path or class name or file dosen't exist. – Rene Korss May 4 '15 at 9:08
  • is the class name really "myclass"? – Rob Clayburn May 4 '15 at 12:55
  • Not to mention, why are you using a custom class to load form data when Joomla handles all that for you in the background?! – Brian Bolli May 8 '15 at 3:10