I have a problem when trying to insert a fixed text with fpdf
The problem is that the part the first paragraphs that are shown are a fixed text but I want them to be shown at the end of the page and they are shown first how can I do that
<?php
include_once('fpdf.php');
class PDF extends FPDF
{
function Footer()
{
$this->SetY(-15);
$this->SetFont('Arial','I',8);
$this->Cell(0,10,'Este es el pie de página creado con el método Footer() de la clase creada PDF que hereda de FPDF','T',0,'C');
}
function Header()
{
$this->SetFont('Arial','B',9);
$this->Line(10,10,206,10);
$this->Line(10,35.5,206,35.5);
$this->Cell(40,25,'',0,0,'C',$this->Image('./images/logoDerecha.png', 175, 12, 19));
$this->Cell(111,25,'ILUSTRE MUNICIPALIDAD DE CALDERA',0,0,'C', $this->Image('./images/caldera.png',20,12,20));
$this->Cell(40,25,'',0,0,'C',$this->Image('./images/logoDerecha.png', 175, 12, 19));
$this->Ln(25);
}
function cabecera($cabecera){
$this->SetFont('Arial','B',15);
foreach($cabecera as $columna)
{
$this->Cell(40,7,$columna,1, 2 , 'L' ) ;
}
}
function datos($datos){
$this->SetFont('Arial','',12);
foreach ($datos as $columna)
{ $this->MultiCell(0,6, utf8_decode('El que suscribe, Ilustre Municipalidad de caldera. Hace constar a '.utf8_decode($columna['nombre']).'que su solicitud al modulo de luminaria publica con numero de folio ').utf8_decode($columna['id']). utf8_decode(' realizada con fecha ').utf8_decode($columna['fecha'].', presente un estado de '.$columna['estado']). utf8_decode(' con fecha de resolucion correspondiente a ').utf8_decode($columna['fecha_rec']). utf8_decode(' , a la presente solicitud se le proporcionaron los siguientes servicios:
').utf8_decode($columna['servicio']) ,0,'J');
}
}
function ImprimirTexto($file)
{
$txt = file_get_contents($file);
$this->SetFont('Arial','',12);
$this->MultiCell(0,5,$txt);
}
//El método tabla integra a los métodos cabecera y datos
function tabla($cabecera,$datos){
$this->cabecera ($cabecera) ;
$this->datos($datos);
}
}//fin clase PDF
?>
And this is the code created by the pdf
$mat = $_POST['id'];
$email=$_POST['email'];
$pdf = new PDF();
$pdf->AddPage('P', 'Letter');
$pdf->SetFont('Arial','B',12);
$pdf->Cell(40,7,'ESTADO SOLICITUD',0, 1 , ' L ');
$pdf->Ln();
$pdf->ImprimirTexto('textoFijo.txt');
$consultaPersona = new myDBC();
$datosPersona = $consultaPersona->seleccionar_persona($mat);
$cabecera = array();
$pdf->tabla($cabecera,$datosPersona);
$pdf->Output("adjunto-temp.pdf","F");