|
Is there a way for me to stop typing the same html table code for my contents by using PHP? For example
<table border... blah blah cellspacing=1 blah blah>
<tr>
<td valign blah blah>
content content content
</td>
</tr>
</table>
<table border... blah blah cellspacing=1 blah blah>
<tr>
<td valign blah blah>
content content content
</td>
</tr>
</table>
I don't want to keep typing out the bold part of my page for every single content that is in the table, which is required to be. I have about 10 - 15 of these tables on one page, each with its own background image in the cell, is there a way to make it so i dont have to type it out every single time i want to add a new table with its own background?
PS - I'm still very very new to php coding so cut me some slack, thanks.
|