no errors are thrown in php, and if I echo the html of the table is correct.
I cannot understand another point: when I look at html of the big original table, it is there, perfectly drawn. When I save the pdf, instead, it is a blank page...
I will try the validator, but I think that not the problem... on a subset of lines (without the division in little tables) the pdf is correctly saved and shown...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi to everybody!
I've a big html table that I want to render in a pdf.
If I "write" all the table at once, there are no errors, but the pdf is empty.
So, I've tried to split the single big table in N-little tables (with 30 lines each), but a small gap between them appeared.
How can I eliminate it?
Thank you for the help!
Are error messages turned on in PHP?
Can you validate your HTML table? Eg. is it missing a tag somewhere?
Thank you Simon for your reply!
no errors are thrown in php, and if I echo the html of the table is correct.
I cannot understand another point: when I look at html of the big original table, it is there, perfectly drawn. When I save the pdf, instead, it is a blank page...
last lines of the creation of the pdf are:
A browser is more forgiving to bad html than TCPDF.
Try the HTML here: https://validator.w3.org/#validate_by_input
I will try the validator, but I think that not the problem... on a subset of lines (without the division in little tables) the pdf is correctly saved and shown...