Textarea

Select followed by text

Input Radio No      Yes

Input Radio No      Keep      Choice

Input Text

Input Password

Checkboxes
Disabled
Selected




Textarea

Select

Input Radio No      Yes

Input Radio No      Keep      Choice

Input Text
Input Password

Checkboxes
Disabled
Selected




Textarea
Select
Input Radio No      Yes
Input Radio No      Keep      Choice
Input Text

Checkbox
Checkboxes
Gardening
Holidays
Motoring
Books Theatre
Selected option Musicals
Eating out Events

Input Radio No      Yes

Input Radio No      Keep      Choice

Input Text
Input text:
Password:

Checkboxes:
Checkboxes
Disabled
Selected

'; //============================================================== //============================================================== //============================================================== if (isset($_REQUEST['html'])) { echo ''.$html.''; exit; } if (isset($_REQUEST['source'])) { $file = __FILE__; header("Content-Type: text/plain"); header("Content-Length: ". filesize($file)); header("Content-Disposition: attachment; filename='".$file."'"); readfile($file); exit; } //============================================================== //============================================================== //============================================================== $mpdf=new mPDF('c'); $mpdf->default_lineheight_correction = 1.2; // LOAD a stylesheet $stylesheet = file_get_contents('mpdfstyletables.css'); $mpdf->WriteHTML($stylesheet,1); // The parameter 1 tells that this is css/style only and no body/html/text $mpdf->SetColumns(2,'J'); $mpdf->WriteHTML($html); $mpdf->Output(); exit; ?>