VITCIE info: MySQL Query Error

Time: 2022-2-24 3:40am
Script: /classroomviewdoc.php

SQL: select id from vte_article where type=
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 '' at line 1
Errno.: 1064

An error report has been dispatched to our administrator.
Fatal error: Call to undefined function sendmail() in /usr/home/hyu3102420001/htdocs/include/db_mysql_error.php on line 51