$query = "SELECT Full_Name, Yearsection, Course_No, Type, Date_Time FROM classroomattendance WHERE Type=Absent CONCAT (`Full_Name` , `Yearsection` , Type) LIKE '%".$valuetosearch."%' ";
$search_result = filterTable($query);
You probably want an AND between Type=Absent and CONCAT