Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'shanjin001.ptype' doesn't exist in C:\WAMP\Apache24\htdocs\www\productsclass.php:16
Stack trace:
#0 C:\WAMP\Apache24\htdocs\www\productsclass.php(16): PDO->query('select id from ...')
#1 {main}
thrown in C:\WAMP\Apache24\htdocs\www\productsclass.php on line 16