PHP - assign string to variable?

  • Thread starter Thread starter Spiders-design
  • Start date Start date
S

Spiders-design

Guest
I can't remember how to do it. Basically I have a long piece of html code that has lots of single and double quotes. I want to put it into a variable. To do it I know I have to do something like this

$hello = <<endofhtml

html goes here


endofhtml>>>

anyone help?
 
Back
Top