Example #1
0
        $this->Ln();
    }
    function Footer()
    {
        $this->SetY(-15);
        //Arial italic 8
        $this->SetFont('Arial', '', 8);
        $this->Cell(0, 0, 'Guadalajara 43 3er Piso Col. Roma Norte Del. Cuahutemoc Mexico. DF 06700', 0, 0, 'R');
        $this->SetFont('Arial', 'B', 8);
        $this->Cell(0, 5, 'T(55) 5553 9691 (55) 5553 96 31 acervantes@salud.gob.mx ', 0, 0, 'R');
        $this->SetFont('Arial', '', 8);
        $this->Cell(0, 10, 'T(55) 5553 2000 33 00 ext. 53012 www.arturo.garciacruz@yahoo.com.mx ', 0, 0, 'R');
    }
}
$pdf = new PDF('P', 'mm', 'A4');
$prep_state = $alumno->ConsultarAlumnosCurso();
while ($row2 = $prep_state->fetch(PDO::FETCH_ASSOC)) {
    $nombre = $row2['nombre'] . " " . $row2['apaterno'] . " " . $row2['amaterno'];
    $lugartrabajo = $row2['lugartrabajo'];
    $fechanacimiento = $row2['fechanacimiento'];
    $edad = $row2['edad'];
    $estadocivil = $row2['estadocivil'];
    $escolaridad = $row2['escolaridad'];
    $domicilio = $row2['domicilio'];
    $telefono = $row2['telefono'];
    $correo = $row2['correo'];
    $fechaelaboracion = $row2['fechaelaboracion'];
    $pdf->SetFont('Arial', '', 10);
    $pdf->AddPage();
    $pdf->SetFont('Arial', 'B', 14);
    $pdf->Cell(0, 10, 'FICHA DE IDENTIFICACION DEL ALUMNO', 0, 0, 'C');