Exporting Image to Excel

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
StaticConvulsioN
Forum Newbie
Posts: 3
Joined: Thu Apr 26, 2007 12:30 pm

Exporting Image to Excel

Post 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.
Post Reply