Warning: mysqli::__construct(): (HY000/2002): No such file or directory in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 11

Warning: mysqli_query(): Couldn't fetch mysqli in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 12

Warning: Cannot modify header information - headers already sent by (output started at /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php:11) in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php:11) in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php:11) in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php:11) in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php:11) in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php:11) in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 55

Warning: Cannot modify header information - headers already sent by (output started at /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php:11) in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 60

Warning: Cannot modify header information - headers already sent by (output started at /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php:11) in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php:11) in /home/thecfema/public_html/oraetlabora.co.uk/Connections/school.php on line 80

Warning: mysqli::prepare(): Couldn't fetch mysqli in /home/thecfema/public_html/oraetlabora.co.uk/webassist/mysqli/rsobj.php on line 145

Warning: mysqli_error(): Couldn't fetch mysqli in /home/thecfema/public_html/oraetlabora.co.uk/webassist/mysqli/rsobj.php on line 148
SELECT DATE_FORMAT(Event_Date,'%a %b %D') as Nice_Date, Event, Event_Date, StaffOnly FROM Events WHERE (Event_Date >= CURDATE()) AND (DATEDIFF(Event_date,CURDATE()) <=60) AND (StaffOnly IS NULL OR StaffOnly !=1) ORDER BY Event_Date ASC