I want to assign a whole chunk of html content to a php variable. I was wondering if anybody knows of a way other than catenating manually. It's a huge chunk of html full with escape characters so don't want to do '' or "" thing.

Any help is appreciated.

got the answer
have to use <<< EOT
EOT;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.