SimplePortal

Customization => Custom Coding => Topic started by: Ares on January 25, 2011, 11:40:44 PM

Title: edit html table to allow php
Post by: Ares on January 25, 2011, 11:40:44 PM
this code allows block in block for the center block
what do i need to add to place php in this code where it says php here
Quote
<TABLE  width= 50% align= right>
<TR class= "catbg"> <TH align= left>News</TH></TR>
<TR class= "windowbg3"> <TD>php here</TD>
</TABLE>
<TABLE  width= 50% align= left>
<TR class= "catbg"> <TH align= left >News</TH></TR>
<TR class= "windowbg3"> <TD>php here<br></TD>
<td width="4" bgcolor="#000000"><BR></td>
</TABLE>
Title: Re: edit html table to allow php
Post by: 130860 on January 26, 2011, 03:39:34 PM
you will need to use a php block  instead:

you can use something like this:

echo '<TABLE  width= 50% align= right>
<TR class= "catbg"> <TH align= left>News</TH></TR>
<TR class= "windowbg3"> <TD>php here</TD>
</TABLE>
<TABLE  width= 50% align= left>
<TR class= "catbg"> <TH align= left >News</TH></TR>
<TR class= "windowbg3"> <TD>';

php here

echo '<br></TD>
<td width="4" bgcolor="#000000"><BR></td>
</TABLE>';
SimplePortal 2.3.8 © 2008-2024, SimplePortal