- Code: Select all
include 'MDB2.php';
However, if I try to include a class from a subfolder of pear folder
- Code: Select all
include 'HTML/QuickForm/Controller.php';
i get Fatal error: Class 'HTML_QuickFormController' not found in C:\xampp\htdocs\DTRsurvey\survey.php on line 47
If I use
- Code: Select all
var_dump(class_exists('Span'));
it returns true for the classes in the pear folder and false for the classes in the pear subfolders.
Please help!! It is very puzzling.