Steven,
I am still getting the same error despite changing the code. This error is very simiiar to the original one.
Parse error: syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING in /home/content/08/10090408/html/productionnu2/runreport.php(32) : eval()'d code on line 3
Fatal error: Class 'Reporting' not found in /home/content/08/10090408/html/productionnu2/runreport.php on line 33
The original code started with:
Code: Select all
/* Logic for Notice Letters */
nuRunQuery(
<<<EOSQL
CREATE TABLE #dataTable#
SELECT
violations.vio_building_unit,
violations.vio_printable_information,
people.people_id,
people.peo_building_unit,
I changed the code to the following 2 lines:
Code: Select all
$sql = "CREATE TABLE #dataTable# ";
nuRunQuery($sql);
Since I still got the same error, I removed ALL of the code from the PHP Code section for the report and got the error message at the top of today's post.
What is interesting is that when the only code I had was
Code: Select all
$sql = "CREATE TABLE #dataTable# ";
nuRunQuery($sql);
that after I saved it and looked at it again, there were slashes before each double quote as follows:
Code: Select all
$sql = \"CREATE TABLE #dataTable# \";
nuRunQuery($sql);
Since I have other reports that have similiar PHP code that don't have a problem, is it possible the problem is in the Report Builder? On the other hand this same report works fine when I run it on my laptop.
Any ideas?
John