You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Call Stack:Array ( [0] => Array ( [file] => /var/www/vhosts/bethinking.org/html/PHP/database.php [line] => 35 [function] => fnSQLError [args] => Array ( [0] => Resource id #26 ) ) [1] => Array ( [file] => /var/www/vhosts/bethinking.org/html/PHP/Modules/events.php [line] => 149 [function] => fnExecuteSQL [args] => Array ( [0] => SELECT tblResource.ID FROM tblResource INNER JOIN tblEvent_TO_Resource ON tblEvent_TO_Resource.Resource_ID = tblResource.ID WHERE tblEvent_TO_Resource.Event_ID = ) ) [2] => Array ( [file] => /var/www/vhosts/bethinking.org/html/PHP/Features/events.php [line] => 23 [function] => fnGetEvent [args] => Array ( [0] => www.christianheritage.org.uk/TRFG ) ) [3] => Array ( [file] => /var/www/vhosts/bethinking.org/html/events.php [line] => 14 [args] => Array ( [0] => /var/www/vhosts/bethinking.org/html/PHP/Features/events.php ) [function] => include ) )