m.n.thomassen Posted January 18, 2010 Posted January 18, 2010 LS, after clicking on the pdf invoice button on the page 'invoice.php' i update a field in the orders table, the invoice_viewed_counter. How can i refresh within the pdf the calling 'invoice.php', so that the users views the correct update 'invoice_viewed_counter', when he closes the pdf. For example after // are we streaming for email attachment or outputting to browser? if($stream){ $pdf_data = $pdf->Output('' , 'S'); } else { $mode = (FORCE_PDF_DOWNLOAD == 'true') ? 'D' : 'I'; // what do we do? display inline or force download $pdf->Output($file_name , $mode); } Thankx, Marcel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.