Parse error: syntax error, unexpected variable "$this" in C:\xampp\htdocs\mi_tienda2\reportes\Factura.php on line 146
// Company
function addSociete( $nom, $adresse, $logo, $ext_logo )
{
$x1 = 30;
$y1 = 4;
//Positionnement en bas
//$this->Image($logo, 5 , 3 , 25 , $ext_logo);
$this->Image($logo, 5 , 3 , 25 , 0 , $ext_logo)
/*Linea 146*/$this->SetXY( $x1, $y1 );
$this->SetFont('Arial','B',12);
$length = $this->GetStringWidth( $nom );
$this->Cell( $length, 2, $nom);
$this->SetXY( $x1, $y1 + 4 );
$this->SetFont('Arial','',10);
$length = $this->GetStringWidth( $adresse );
//Coordonnées de la société
$lignes = $this->sizeOfText( $adresse, $length) ;
$this->MultiCell($length, 4, $adresse);
}