Posted by Domestos on 08/24/05 00:05
> or using multiline strings (and double quotes):
>
> <?php
> echo "<table>
> <tr>
> <td> blah blah </td>
> </tr>
> </table>
> ";
> ?>
<snip>
That one thats worked for me is as follows... multiline string, with single
quotes. I needed to embed php variables into the string also... as
follows...
echo '<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="gfx/interface/win_'.$wincol.'_tl.gif" width="10" height="10"
border="0"></td>
<td><img src="gfx/interface/win_'.$wincol.'_t.gif" width="'.$winwid.'"
height="10" border="0"></td>
<td><img src="gfx/interface/win_'.$wincol.'_tr.gif" width="10" height="10"
border="0"></td>
</tr>
<tr>
<td><img src="gfx/interface/win_'.$wincol.'_l.gif" width="10"
height="'.$winhgt.'" border="0"></td>
<td width="'.$winwid.'" height="'.$winhgt.'" bgcolor="#393939">';
Navigation:
[Reply to this message]
|