SimplePortal
Customization => Custom Coding => Topic started 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
<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>
-
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>';