Forum Moderators: coopster
When you say you create a .doc file, do you mean a Word for Windows .doc file?
Well I use the PHP COM functions on Windows to produce Word .doc files, and to insert images I use the InlineShapes->AddPicture function of the Word Object Model.
Below is a PHP code snippet which I use to insert a picture called img.jpg into a table cell.
Hope this helps
$cell->Select();
$cell->InlineShapes->AddPicture('F:\img\img.jpg', FALSE, TRUE);
Paul,
I'm not sure if there are any non-Win proprietary options when it comes to making a MS Word doc. Why not use a portable document format (PDF)? That way it works everywhere, you aren't limiting yourself to those folks that cannot open an MS Word doc.