So I have this 30 lines long HTML code. I don't want to change all this " to \" I've created a php class called page and save in .inc file.
I have to assign these HTML code to $home->content. Is there anyway I can just copy and paste my html code to it?
This is how the page displays:
public function Display()
{
echo "<html>
<head>
";
$this -> DisplayTitle();
$this -> DisplayKeywords();
echo "</head>
<body>
";
echo "<div class = \"container\">
";
$this -> DisplayHeader();
echo $this -> content;
$this -> DisplayFooter();
echo "</div>
</body>
</html>
";
}
Thank you in advance