while loop in ezpdf
<p>I am having  trouble with ezpdf. it works fine for first row of recordset, however I am unable to get all rows of the recordset in ezpdf. it seems that ezpdf somehow ends working after the first record and just creates the pdf file anyway.</p>

<p>Here is what I am doing.</p>

<p>Getting order details from a transaction table and generating tickets based on the quantity in the order. So let's say it has 3 tickets to generate in an order, the pdf will only generate the ticket for first row. It does not accumulate the data of 2nd and 3rd row.</p>

<p>Here is my code.
<a href="http://pastebin.com/DMaZUpqw" rel="nofollow">http://pastebin.com/DMaZUpqw</a></p>

<p>Please help.</p>

<p>Thanks
Ali</p>
