I am having trouble with allowing users to download a large report from the data base.
Users have the ability to browse the report on the website, i have set up a limit and a pagination for the pages so no problem there.
But now i am adding the functionality to download the whole report at once in a csv file. I receive memory error saying i have reach the maximum memory allowed, and i don't have permission on the server to increase it. Does anybody know how can make this possible? so far just getting the query which has 700k result stops my script.
ps i have search around stackoverflow and so far can't find an answer to it. I am using php and mysql to get the data.
Thanks in advance