The error is that i can't use a loop foreach or for with this package mikehaertl/phpwkhtmltopdf to generate a PDF
$pdf->addPage(
'<html>
<HEAD>
<TITLE>Acta de Recepcion</TITLE>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
</HEAD>
<body>
<?php
@foreach ($due as $d)
@endforeach
?>
</body>
</html>');
i need use a foreach to add dates dynamically
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire