Missing image in universal email
Please see PM
I have a universal email page which send a confirmation of a submission with product details and one small image.
For some reason the image icon is always empty and I cannot see why.
The code for this area is:
<th style="font-size: 12px; width: 134px; text-align: right; padding: 3px 10px 3px 3px; font-weight: bold;">Picture:</th>
<td colspan="3" style="font-size: 12px; padding: 3px;"><img src="http://boatsforsalenow.com/BoatImages/<?php echo $row_rs['Image1_250']?>" /></td>
and the image name
Image1_250
is correct and the database contains the image name in this field.
I wonder if you can see where the error may be.
Many thanks
If you put the image path into the browser do you see it?
http://boatsforsalenow.com/BoatImages/fieldvalue.jpg
Are you sure the row_rs recordset is populated properly? Are you able to show other data from that recordset?
Try viewing the email body page directly and see if you can spot the problem in the resulting page. I'd have to debug it directly to know.
It could be that the recordset is wrong. It could be the data in the database is wrong. It could be a typo in the column name. Maybe the column isn't in the recordset select statement.
So that means that the recordset isn't being created properly, is out of scope, or doesn't include that column.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.