Fatal error: Uncaught exception 'DatabaseException' with message 'MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND status != 0 ORDER BY click DESC limit 10' at line 1 <br>When executing:<br> $SELECT `id` as ID,`status` as Status,`name` as UserName,`en_name` as EnName,`click` as Click,`sex` as Sex,`duty` as Duty,`phone` as Phone,`email` as Email,`iam` as IAM,`photo` as Photo,`content` as Content,`reg_date` as RegDate FROM tab_master Where type = AND status != 0 ORDER BY click DESC limit 10; <br>' in E:\topsjs\inc\topsjs.inc.php:57 Stack trace: #0 E:\topsjs\inc\topsjs.inc.php(82): Connection->sendSQL('SELECT `id` as ...') #1 E:\topsjs\inc\class\master\master.class.php(244): Connection->select('SELECT `id` as ...') #2 E:\topsjs\www\p\famouse\detail.php(47): Master->getHotMasters(NULL, 10) #3 {main} thrown in E:\topsjs\inc\topsjs.inc.php on line 57