Fatal error: Uncaught Error: Call to a member function rowCount() on bool in C:\xampp\htdocs\connmysql.php:26 Stack trace: #0 C:\xampp\htdocs\onlinegood.php(2): include() #1 {main} thrown in C:\xampp\htdocs\connmysql.php on line 26