$query_rcsRegis = sprintf("SELECT * FROM tblregiscoop WHERE Semester =%s AND Year =%s AND Departmant = %s OR Std_ID like %s",GetSQLValueString($_POST['listSemester'], "text"),GetSQLValueString($_POST['listYears'], "text"),GetSQLValueString($_POST['listMajor'], "text"),GetSQLValueString("%".$_POST['txtSearch']."%", "text"));