Trying to create PHP CRUD app using PDO but getting Undefined type 'AppPDO' in config file

Questions › Trying to create PHP CRUD app using PDO but getting Undefined type 'AppPDO' in config file
sethbeckerman5 Staff asked 4 years ago

Entire project – https://github.com/steve-davey/phpsqliteconnect (config file is out of date though)
This is the config file:

I don't understand why I get an error for whereas I don't for the index.php file in the directory above?

That works absolutely fine! I even get a little pop-up description in VSC that links to the PHP documentation. So why does it throw an error in the other file please?? TIA!


View on Stack Overflow