Tutorial PHP
Tutorial PHP
Tutorial PHP
Este tutorial esta elaborado con base al ejemplo(formulario con bases de datos ) explicado por el
profesor EDUARDO visto en la clase anterior.
<?php
require_once('../lib/pdf/mpdf.php');
$passwd = '1075302144';
$db = 'talentohumano';
$port = 5432;
$host = 'localhost';
$emple = pg_query($Consulta);
while($empleados[] = pg_fetch_array($emple));
<div id="logo">
<img src="img/php.jpg">
</div>
<main>
<table>
<thead>
<tr>
<th class="service"></th>
<th class="desc">NOMBRE</th>
<th class="desc">EMAIL</th>
<th>TELEFONO</th>
</tr>
</thead>
<tbody>';
# code...
$html .= '<tr>
<td class="APELLIDOS">'.$empleado['emp_nombre'].'</td>
<td class="APELLIDOS">'.$empleado['emp_email'].'</td>
</tr>';
$html .= '
Tutorial pdf /php usco
</tbody>
</table>
$mpdf->output('reporte.pdf' ,'I');
?>