Jump to content

Archived

This topic is now archived and is closed to further replies.

Roopavathy

PDF Report

Recommended Posts

Hello there,

 

I am using fpdf in my project to get pdf report.While displaying data dynamically in a table,i have used multicell.

But the other columns come down.How can i align them ihe same row.

 

 

Here is my code:

 

http://pastebin.com/xjKq8209

 

Please help me to rectify it.

 

Thanks in advance.

post-164710-0-36282900-1442635825_thumb.png

Share this post


Link to post
Share on other sites

Its on my list of things to do...

 

But from a quick search and everybody else seems to always pass 7 arguments whereas you have 6, I dunno if that's the issue or not though

 

http://stackoverflow.com/questions/13407085/how-do-you-make-a-table-like-this-with-fpdf-using-php

http://www.fpdf.org/en/script/

 

Then again, in the doc's this line is commented:

 

// Move to 8 cm to the right
$pdf->Cell(80);

http://www.fpdf.org/en/doc/cell.htm

 

 

But then again, your header has different widths than the following cells?

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.