Ok, so I use the following snippet to get \"views\" of HTML with PHP variables loaded in as $data so that I can do things like fill in tr\'s of dat
$data
tr
First you must enable executing inline php scripts in dompdf_config.inc.php file. (change define("DOMPDF_ENABLE_PHP", true); this line to true)
dompdf_config.inc.php
define("DOMPDF_ENABLE_PHP", true);
This code sets Page indicator in right corner of the header...
Be sure that script tag is within body tag... otherwise it doesn't work!