S
S
Sarvar Abduhakimov2015-10-08 11:57:34
PHP
Sarvar Abduhakimov, 2015-10-08 11:57:34

What is the correct approach to display a huge report in excel in php?

There are two main huge tables connected 1 by many in postgresql (each table has 2500000 rows). There is a one-to-one relationship between the two tables. It is necessary to take the report from two tables on one excel through PHP. In my approach, php does a SELECT and writes the given data to arrays. Then with the help of PHPEXCEL writes to the template. It takes about half an hour to get 500,000 rows of data. Please advise the correct approach for this example. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nozzy, 2015-10-08
@nozzy

Write to CSV file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question