Re: putting variables in a variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ross,

If I understand correctly what you want to do, you're almost there...

You need:

$myimage1 = "image1.jpg";
$myimage2 = "image2.jpg";
$myimage3 = "image3.jpg";

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

Cheers,

Mark


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux