throw new DOMPDF_Exception("dec2roman() requires a numeric argument.");
<?php session_start();
include('connexion/connexion-adhesion.php');require_once("dompdf/dompdf_config.inc.php");
$html='<html>';
$html.='<head>';
$html.='<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>';
$html.='</head>';
$html.='<body style=background-color:#ffffff;>';
$html.='<table width=100% border=0 style=page-break-after:always;text-align:left;padding:30px;word-wrap:normal;font-size:10px;font-family:Helvetica;>';
$html.='<tr>';
$html.='<td>';
$html.='<center><img src=images/header-cs-v2.jpg style=width:500px;></center>';
$html.='</td>';
$html.='</tr>';
$html.='<tr>';
$html.='<td style=padding-left:10px;font-size:13px;><b><u>INFORMATION xxxx:</u></b>';
$html.='</td>';
$html.='</tr>';
$html.='<center>
<p style=font-size:8px;padding-top:40px;>Association à but non lucratif régie par la loi du 1er juillet 1901<br>
<b>xxxxxxxx</b> - tél xxxxx - fax xxxxx <br><span style="font-size:10px;"><b>3</b></span></p></center';
$html.='</td>';
$html.='</tr>';
$html.='</table>';
$html.='</body>';
$html.='</html>';
}
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->set_paper('a4','portrait');
$dompdf->render();
$dompdf->stream("CONTRAT.pdf");
header("Location:index.php");
exit;
} else {
header("Location:index.php");
exit;
}
?>