oo7ml
08-03-2007, 12:30 PM
My site consists of over 30 pages, and each page has the same footer (ending)
I was thinking of adding an include <?php include("footer.php");?>
Does it matter what code is in the footer.php e.g
say it includes the closing </table> </body> and </html> tags
<tr>
<td>
<p> this is the footer </p
</td>
</tr>
</table>
</body
</html>
but it doesn't have the opening <html> <body> <table> tags
Is this bad coding practice because i don't have the opening tags in it as well or does it matter?
PLEASE EVERYONE ANSWER AS I THINK THIS COULD BE VERY OPINIONATED
I was thinking of adding an include <?php include("footer.php");?>
Does it matter what code is in the footer.php e.g
say it includes the closing </table> </body> and </html> tags
<tr>
<td>
<p> this is the footer </p
</td>
</tr>
</table>
</body
</html>
but it doesn't have the opening <html> <body> <table> tags
Is this bad coding practice because i don't have the opening tags in it as well or does it matter?
PLEASE EVERYONE ANSWER AS I THINK THIS COULD BE VERY OPINIONATED