Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.6k views
in Technique[技术] by (71.8m points)

php - How to display 1 table data to 2 columns each data 1-n in fpdf?

I have a tabledata that exported into pdf. Im using Fpdf and Codeigniter. First my fpdf works good, and i can export it.

I need to make this table into 2 column, its hard to find the doc about it but i can make it to like this one

I have table data

This is my code

My Code

But I want like this one

|no|name|   |no|name | 
|-----------|--------|
| 1| txt|   | 6 | txt|
| 2| txt|   | 7 | txt|
| 3| txt|   | 8 | txt|
| 4| txt|   | 9 | txt|
| 5| txt|   | 10| txt|

Can somebody help me?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...