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

  • 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