Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6125343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:14:11+00:00 2026-05-23T16:14:11+00:00

I am going to generate report by using FPDF . My Problem Like this

  • 0

I am going to generate report by using FPDF.

My Problem Like this the horizontal data is too long to display in A4 or A3 :

V  ->  H1 ->   H2 ->    H3............>    HTotal
v1 ->   1       2       3   ..........>    1+2+3+..n
v2 ->   1       2       3    .........>    1+2+3+..n
v3 ->   1       2       3    .........>    1+2+3+..n
.......................................
Vtotal  1*n     2*n     3*n...........>    (1+2+3+..n)*n

Example

V  ->  H1  ->  H2->  H3 -> H4 ->   TOTAL
v1    1       2      3     4        10
v2    1       2      3     4        10
v3    1       2      3     4        10
v4    1       2      3     4        10 
VT   4        8      12    16      40

so my PDF can be output like (split the display pages)

V  ->  H1 ->  H2
v1    1        2  
v2    1        2   
v3    1        2    
v4    1        2  
VT    4        8   

V  -> H3->H4 
v1    3     4  
v2    3     4 
v3    3     4    
v4    3     4   
VT   12    16 

V  ->  TOTAL
v1     10
v2     10
v3     10
v4     10 
VT     40

so even if the data it too long I still got the data display.

Could anyone help me:

  • solve this problem ?
    • or suggest to me the solution using FPDF?
    • or suggest an algorithm in PHP?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:14:12+00:00Added an answer on May 23, 2026 at 4:14 pm

    Of Course that you cant put 100 columns at a A4, but to by more space, you may like to write columns vertically, (just column headers), as i see data that you are putting at your columns are numbers, so the only issue is header of it, like TOTAL, you may write it vertically like:
    T
    O
    T
    A
    L

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am going to use SSRS to generate report for my website. Scenario: I
I have a maybe simple problem. I am going to generate 3 random numbers
I'd like to generate some code using MATLAB Embedded Coder that runs an fft2
Thinking that to solve a problem I've got this is the fastest solution: Generate
I am using MonoDB as a databse....... I am going to generate a _id
I am using PHP to generate a report, which is basically a one line
I'm using this 3rd party report generating software. It has the following steps: 1)
I'm creating a reporting application, and our customers are going to need to generate
I understand this is going to be fairly subjective, but I am looking for
I generated Fxcop analysis report using ant script. But I am unable to host

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.