Hulf wrote:

> Hi,
> 
> I am making and HTML email. I have 3 images to put in. Currently I have
> 
> $body .="
> <table>
>   <tr>
>     <td><img src=\"image1.jpg\"></td>
>   </tr>
> 
>   <tr>
>     <td></td>
>   </tr>
> </table>
> ";
> 
> 
> ideally I would like to have
> 
> $myimage1 = "image1.jpg";
> $myimage2 = "image2.jpg";
> $myimage3 = "image3.jpg";
> 
> 
> and put them into the HTML body variable. I have tried escaping them in
> every way i can think of, dots and slashes and the rest. Any ideas?
> 
> 
> Ross

Did you try

$body .="
<table>
  <tr>
    <td><img src=\"$myimage1\"></td>
  </tr>

  <tr>
    <td></td>
  </tr>
</table>
";

It helps us help you if you can give examples of what you have tried and how
it didn't work as you expected.


Cheers
-- 
David Robley

Terminal glare: A look that kills...
Today is Setting Orange, the 12nd day of Discord in the YOLD 3177. 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to