I would guess I am doing something fairly fundamentally wrong here...
I select the Printer Friendly option and try to outupt the page - I get the following error:
Fatal error: 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 'count(*)' at line 1 in \include\dbconnection.php on line 26
I am using MySQL 5.x and PHP 5.x. I tried checking what it means by the SQL syntax but cannot seem to find anything that corrisponds.
Line 26 in the file reads:
trigger_error(mysql_error(), E_USER_ERROR);
but this call is used earlier in the file and doesn't trip the error handling.