I need to have double-quotes in my variable start and inside the variable to parse other variables:
[code=php]
$news = ”
<table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”100%” height=”89″ class=”newscontent”>
<tr>
<td width=”40″ class=”newstitle” height=”12″>
<p><img border=”0″ width=”40″ height=”40″ src=”<?php echo $dir,$img;?>”></p>
</td>
<td width=”731″ class=”newstitle” height=”12″><font face=”arial” size=”4″> <?php echo “$title</font>”;?></td>
<td width=”40″ class=”newstitle” height=”12″>
<p><img border=”0″ src=”<?php echo `$dir,$img`;?>” width=”40″ height=”40″></p>
</td>
</tr>
<tr>
<td width=”799″ class height=”57″ colspan=”3″><font face=”Arial” size=”1″><?php echo “
Posted on $date by $user”;?></font>
<dl>
<dd>
<p><font face=”Arial”><?php echo $text;?></font></dd>
</dl>
</td>
</tr>
<tr>
<td width=”799″ class height=”25″ colspan=”3″>
<p align=”center”><a href=”#top”><font color=”#FFFFFF” face=”Arial”>Back
to Top</font></a></td>
</tr>
</table>
I know you cant have it like that, but it wont work with single-quotes. How can I change this, the HTML doesnt work properly if you change it there.
Then I need to have the variables written out so I can add them to the file I need to.
Please help ? ?