Pass a $_GET variable to Dompdf
<p>How i pass a $_get variable to dompdf,See my code</p>

<pre><code>&lt;?php // test.php
include('dompdf/dompdf_config.inc.php');
ob_start();
require_once('pdf.php');//contain html with php variables
$pdf_html = ob_get_contents();
ob_end_clean();
$dompdf = new DOMPDF();
$dompdf-&gt;load_html($pdf_html);
$dompdf-&gt;render(); // Parse the html,
$dompdf-&gt;stream('file.pdf');
?&gt;
</code></pre>

<p>In my pdf.php page i have a $id=$_GET['id']; that takes id from test.php and generates result base on the id from mysql result</p>
