1

Hello,

I'm quite new to HTML2PDF, and PHP in general, so please bare with me.

my test link is: http://www.cbotved.dk/html/html2pdf.php
I try to make a PDF of this page: http://www.cbotved.dk/html/text.html

But I'm getting this error:
Fatal error: Uncaught ERROR n°4
File : /var/www/www.coolshirt.dk/www/cbp/html/html2pdf/parsingHTML.class.php
Line : 99

HTML code invalid, the tags are not closed in an orderly fashion.
Status :
Array
(
[0] => page
[1] => table
[2] => tr
[3] => td
[4] => p
[5] => b
[6] => table
[7] => tr
[8] => td
[9] => table
[10] => tr
[11] => td
[12] => p
[13] => span
[14] => a
)

HTML : ...Download PRINT version - 54 Kb</span> </p> </td>... thrown in /var/www/www.coolshirt.dk/www/cbp/html/html2pdf/parsingHTML.class.php on line 99


I'm sure it is just a simple, dump, mistake... But I can't figure out, where it is located...

So please help me out smile
// Christian

2

it is maybe because your HTML code is invalid...
Ancien pseudo : lolo

3

OK....

Now I got the code fixed...

But I'm now getting this error:


Fatal error: Uncaught ERROR n°7
File : /var/www/www.coolshirt.dk/www/cbp/html/html2pdf/html2pdf.class.php
Line : 4785

The content of a TD tag does not fit on only one page thrown in /var/www/www.coolshirt.dk/www/cbp/html/html2pdf/html2pdf.class.php on line 4785
// Christian

4

// Christian