php - HTML table to pdf -


i generating class schedule out of sql queries concerning more 1 tables database. schedule displayed in html table on web page, along there 1 line details schedule besides table. want user able print information/ save in pdf format. how able ?

i think php or html code not necessary answering this. thank in advance..

use tcpdf

include("tcpdf.php"); $html = "html code";  $pdf = new tcpdf(); $pdf->addpage(); $pdf->writehtml($html) 

Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -