Page 1 of 1

Exporting Image to Excel

Posted: Tue May 01, 2007 1:06 pm
by StaticConvulsioN
Hallo,

I need help plz, with exporting an image to excel, i manage to export a table on a web page to excel,
but this table has an image and i need to export it again, anyone knows how to do this, thnxs, ill send
the headers i used to export the table to excel.

Code: Select all

header("Content-type: application/x-msdownload");
header("Content-Disposition: attachment; filename=extraction.xls");
header("Pragma: no-cache");
header("Expires: 0");
print "$header\n$data";

Thanks.