I keep receiving this error when trying to add my own array into the code. Here is my array;
$array = array();
$array = odbc_result($rs,'Product Name');
$test = print_r($array);
This code is before the $html variable and when it is set I just add the $test variable into the $html variable. The odbc connection works fine and the example works fine before I add any code but when I run the script I get this error;
Array (  => Test1  => Test2 ) TCPDF ERROR: Some data has already been output, can't send PDF file
And also, are there also more than 2 items included in the Array. Any ideas?