[PHP] putting variables in a variable
- Date: Mon, 28 Mar 2011 12:06:14 +0100
- From: "Hulf" <ross@xxxxxxxxxxxxxx>
- Subject: [PHP] putting variables in a variable
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php