Just do something like:
echo '<img src="' . $url . '" />';
题
I'm exporting a data in XLS format with the use of ExcelWriter() in PHP. In some cases I have a data in image format (stored as a path). is that possible to directly show images in the excel?
解决方案
Just do something like:
echo '<img src="' . $url . '" />';