How to fix this html to be able to assign to php variable? -
I have this 30 line long HTML code. I do not want to change all this from "to", I used to call fax A php square has been created and saved the .inc file in it.
I have to assign this HTML code to $ home-> content, can I copy and paste it anyway? The page is displayed in this way:
Public function displays ({echo ""; \ n & lt; top & gt; \ N "; $ this -> DisplayTitle (); $ this - & gt; DisplayKeywords (); echo" gtk; body & gt; \ n "; echo" & lt ; Div class = \ "container \" & gt; \ n "; $ this -> DisplayHeader (); Sampling $ this -> content; $ this -> DisplayFooter (); echo" & lt; / Div> \ n & lt; / body & gt; \ n & lt; / html & gt; \ n ";}
Thank you in advance
/>
If you have HTML code all "in it then you at the beginning and end of the resonance statement You can use a single bid and you do not have to change anything.
Public function display () {echo '& lt; Html & gt; \ n & lt; head & Gt; \ n '; $ - -> Dispatellite (); $ this - & gt; Display kyeds (); echo & lt; / head & gt; \ n & lt; body & gt; \ n'; echo '& Lt; Div class = "container" & gt; \ N '; $ This - & gt; Displayheader (); $ This - & gt; material; $ This - & gt; Displayfuter (); Echo '& lt; / Div & gt; \ N & lt; / Body & gt; ; \ N & lt; / Html & gt; \ N ';}
Comments
Post a Comment