Is FACT taking data?

Who is on shift? (from FACT shift plan and FACT logbook) 8) $today=date("Ymd", mktime(0,0,0,date("m"), date("d"), date("Y"))); else $today=date("Ymd",strtotime(date("Y-m-d", mktime(0,0,0,date("m"), date("d"), date("Y")))." -1 day")); echo "
  Night: ".$today." (date of sunset)
"; $query="SELECT u FROM calendar.data WHERE CONCAT(y, LPAD(m+1, 2, 0), LPAD(d,2,0))='".$today."' AND x=0 "; //echo $query; include ("db.php"); $db_id = mysql_connect($host, $user, $pw); $result = mysql_query($query); echo "  Contact Info Shiftcrew:
\n \n
\n
\n "; mysql_free_result($result); echo "General Contact Info:
\n \n"; ?>