Hello, I already have a file that exports me a table to excel but this table contains images which are not exported. Somebody could help me. I urgently need a solution to solve this problem.
This is my code to export but not the image
<?php
if(isset($_POST["exportar_datos"])) {
$filename = "desarrollosnuevos.xls"; header("Content-Type:
application/vnd.ms-excel");
header("Content-Disposition: attachment; filename='$filename'");
$show_coloumn = false;
if(!empty($arreglo)) {
foreach($arreglo as $record) {
if(!$show_coloumn) {
echo implode("<br>", array_keys($record)) . "n";
$show_coloumn = true;
}
echo implode("<br>", array_values($record)) . "n";
}
}
exit;
}
?>