I was using this tutorial http://bakery.cakephp.org/articles/Casmo/2010/06/26/creating-pdf-files-with-html2ps-html2pdf to set up html2ps with cakePhp.
Everything is ok but when I am fetching some article from my database and pass it to the PDF view I am not getting any data. When I pass some string variable it is visible in the pdf view.
Can you suggest me what can cause that?
Thanks in advance
So this problem was connected to my other question which I have asked on stackoverflow, and which you can read here Cake php default bahaviour for Translate behaviour not working.
After solving it this question also is answered. The data was not passing because there was a problem with translation – it simply was not downloading from the database. Read the above thread to learn more.
Thx anyway vindia for your answer.