$sql_po="SELECT * FROM project_ms_header WHERE comp_id = '$faction' AND project_status='1' AND start_date BETWEEN '$operate_date1' AND '$operate_date2' or end_date BETWEEN '$operate_date1' AND '$operate_date2' ";
$sql_po.=$txt." ORDER BY project_id ";
echo $sql_po="SELECT * FROM project_ms_header WHERE comp_id = '$faction' AND project_status='1' AND (start_date BETWEEN '$operate_date1' AND '$operate_date2') or (end_date BETWEEN '$operate_date1' AND '$operate_date2') or ( '$operate_date1' BETWEEN start_date AND end_date) or ( '$operate_date2' BETWEEN start_date AND end_date) ";
$sql_po.=$txt." ORDER BY project_id ";