Hi ,
I have a php file where after the form submission, the contents of a table is exported as CSV.
I have
header('Content-type: application/csv');
header('Content-Disposition: attachment; filename="camp.csv"');
print($text_to_export);
immediately after this I need to redirect him to another page...
I know a header call after this will not work.....
is there any other way?