I am fairly new to web and am making a page I am happy with, however I am wonding if my method is flawed. Currently what I do is load everything into a monster sized sting in my php script like:
Code:
function printContent(){ $string = "\n<div id='" . $someID . "\n'>" . $content . "\n</div>\n"; $string .= "more stuff here..."; echo $string; }
Leave a comment: