Roopavathy Posted September 18, 2013 Share Posted September 18, 2013 I have used TCPDF.But when i execute the first example "example_001.php",the pdf opens and displays only the header and footer.But the the HTML content doesn't get displayed.Please help. Quote Link to comment Share on other sites More sharing options...
Guber-X Posted September 18, 2013 Share Posted September 18, 2013 please provide php code for further help, other wise its just a shot in the dark to help Quote Link to comment Share on other sites More sharing options...
Roopavathy Posted September 18, 2013 Author Share Posted September 18, 2013 Its nothing but the TCPDF link. http://www.tcpdf.org/examples/example_001.phps But,when i installed TCPDF in my localhost and execute it,the pdf opens but not the html content. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 18, 2013 Share Posted September 18, 2013 Its nothing but the TCPDF link. http://www.tcpdf.org/examples/example_001.phps But,when i installed TCPDF in my localhost and execute it,the pdf opens but not the html content. But....there is no problem with those examples, right? Quote Link to comment Share on other sites More sharing options...
Roopavathy Posted September 19, 2013 Author Share Posted September 19, 2013 Hurray.....now it works..again i installed it,now it works. Thank you. Quote Link to comment Share on other sites More sharing options...
Roopavathy Posted September 19, 2013 Author Share Posted September 19, 2013 I want to print the values from the database dynamically.How can i? Here in TCPDF example_011 http://www.tcpdf.org...example_011.pdf they used static table.How can i output the data dynamically.Please help Thanks in advance. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 19, 2013 Share Posted September 19, 2013 Fetch the data from the database dynamically and push the content in an array. Then, just foreach that array as in the example above. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.