-4
どのようにを表示するか、phpまたはhtmlを使用して印刷する?私は、PDFファイル内のデータを作るためのphpMyAdminから使用データにしたいpdfを表示する方法または印刷するpdf
どのようにを表示するか、phpまたはhtmlを使用して印刷する?私は、PDFファイル内のデータを作るためのphpMyAdminから使用データにしたいpdfを表示する方法または印刷するpdf
htmlファイル内のphp変数ドキュメントから githubのリンク https://github.com/dompdf/dompdf
例
// reference the Dompdf namespace
use Dompdf\Dompdf;
// instantiate and use the dompdf class
$dompdf = new Dompdf();
$dompdf->loadHtml('hello world');
// (Optional) Setup the paper size and orientation
$dompdf->setPaper('A4', 'landscape');
// Render the HTML as PDF
$dompdf->render();
// Output the generated PDF to Browser
$dompdf->stream();