VITCIE info: MySQL Query Error

Time: 2018-9-21 3:43pm
Script: /productsviewdoc.php

SQL: SELECT id,subject FROM vte_pic where type=1 and waixing like ORDER BY Top desc, indextj asc,posttime desc,id asc
Error: 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 'ORDER BY Top desc, indextj asc,posttime desc,id asc' at line 1
Errno.: 1064

An error report has been dispatched to our administrator.
Fatal error: Call to undefined function sendmail() in /www/users/CH496693/WEB/include/db_mysql_error.php on line 51