Warning: Undefined variable $category in D:\AppServ\www\mhcf\company\tips.php on line 17

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (big5_chinese_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' in D:\AppServ\www\mhcf\class\DB.php:105 Stack trace: #0 D:\AppServ\www\mhcf\class\DB.php(105): PDOStatement->execute(Array) #1 D:\AppServ\www\mhcf\company\tips.php(48): DB->query('select count(*)...') #2 {main} thrown in D:\AppServ\www\mhcf\class\DB.php on line 105