this is my controller:
public function actionPdf() {
$html2pdf = Yii::app()->ePdf->HTML2PDF();
$html2pdf->WriteHTML($this->renderPartial('pdf', array(/* what code I should give here? */), true));
$html2pdf->Output('MemberCard.pdf');
}and this is my pdf.php:
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<body>
<div class="center"><h1><?php //this should be the customer's name ?>'s Member Card</h1></div>
<br><br>
<table border="0" align="center">
<tr>
<td><img src="/home/prg3/pics/jedug.gif" width="200"></td>
<td>Id Customer<br>Nama Customer<br>Level Harga</td>
<td>:<br>:<br>:</td>
<td><?php //this should be the customer's id ?><br><?php //this should be the customer's name ?>
<br><?php //this should be the customer's level ?></td>
</tr>
</table>
</body>
</html>help me please, with solving the question in my code above. thanks in advance.

Help













