A
Anonymous
Guest
Hi,
Please forgive my noobness, but I have really limited PHP knowledge, but I need some info about inserting HTML into a PHP code. I was searching for a solution but none of them works, and I need a solution quick.
I get a 3 errors, and can't get it to work. How should I incorporate those few lines of HTML right??
This is how it looks now:
-----------------
etc...
$tpl->opis = '
<center>
<table style="background:;">
<tr>
<td>
<?php echo "<div style="margin-left: 206px;" id='coin-slider'>
<a href="#">
<img src='images/slide_1.png' >
</a>
<a href="#">
<img src='images/slide_2.png' >
</a>
</div>";
?>
</td>
</tr>
<tr>
<td align="center" height="45" style="margin-top: 15px;"><img border="0" src="images/buletts.png" ></td>
</tr>
</table>
</center>
<center>
<table id="introtext" style="width: 795px;text-align: justify;font-size:18px;margin-top: -6px;">
...etc
--------------
Regards!!
Please forgive my noobness, but I have really limited PHP knowledge, but I need some info about inserting HTML into a PHP code. I was searching for a solution but none of them works, and I need a solution quick.
I get a 3 errors, and can't get it to work. How should I incorporate those few lines of HTML right??
This is how it looks now:
-----------------
etc...
$tpl->opis = '
<center>
<table style="background:;">
<tr>
<td>
<?php echo "<div style="margin-left: 206px;" id='coin-slider'>
<a href="#">
<img src='images/slide_1.png' >
</a>
<a href="#">
<img src='images/slide_2.png' >
</a>
</div>";
?>
</td>
</tr>
<tr>
<td align="center" height="45" style="margin-top: 15px;"><img border="0" src="images/buletts.png" ></td>
</tr>
</table>
</center>
<center>
<table id="introtext" style="width: 795px;text-align: justify;font-size:18px;margin-top: -6px;">
...etc
--------------
Regards!!