title: how to generate pdf with dompdf or any other libraries, where html and php are writen together?
body: <p>Because assigning a value to the "$html" with whole code which is written with php and html is tedious. Is there any way? or can we make whole page as pdf directly?</p>