|
cleanest way to seperate HTML code in PHP -
02-09-2009, 06:58 AM
I am just wondering what is peoples opinions regarding the cleanest and most efficient way of storing chunks of HTML for output
like for example i presently do it like this
function table(){
echo <<< HTML
<table>
<tr>
<td>Stuff here</td>
</tr>
</table>
HTML;
}
I am just interested to hear how everyone stores their HTML for output in their scripts. I want to maintain the HTML's tabbing but that looks like an impossibility, with each function each table tabbing code out further...
|