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>\n<head>\n";
$this -> DisplayTitle();
$this -> DisplayKeywords();
echo "</head>\n<body>\n";
echo "<div class = \"container\">\n";
$this -> DisplayHeader();
echo $this -> content;
$this -> DisplayFooter();
echo "</div>\n</body>\n</html>\n";
}
Thank you in advance